Home - Squeng/Polyglot GitHub Wiki
This wiki is a glorified reminder to myself.
I have been learning and using Java for over a quarter of a century, starting with a secret sharing proof of concept during my summmer internship at Ubilab back in 1998. When it comes to starting a new project, my main reason for sticking with the Java ecosystem is not because I am so invested in it after all this time, but because I like it so much. (I am well aware that other ecosystems are just as good and maybe even better.)
Nevertheless, I am still interested in various programming languages and programming paradigms. While neither Groovy nor Clojure ever appealed to me (among other things, I am a statically and strongly typed kind of guy; if TypeScript's popularity is any indicator, more and more programmers, software developers, and software engineers are seeing the light), I fell in love with Scala at first sight. So when I had the chance to switch from Java to Scala as my main programming language about a decade ago, I took it.
I have no intention of switching to Python (or any other programming language for that matter) as my main programming language while Scala keeps evolving so well. (So is Java, by the way, and for a while I even wondered whether I should switch back.) But learning Python together with my daughter not only allows for exposing her to the most popular programming language but also for profiting off a huge library of textbooks for every age and for every level, even computer-science students (e.g., Introduction to Computation and Programming Using Python and Python Programming.)
Saying hello!
@main def hello() = println("Hello, `Scala!")
void main() {
IO.println("Hello, Java!");
}
Yep, no public class HW
, no public static
, and no String[] args
required anymore!
print('Hello, Python!')
What's in a name?
Scala is Italian for stairs / stairway / staircase (hence the logo), but comes from scalable or scalable language.
Java is the name of an Indonesian island (which Java ist auch eine Insel alludes to), but Java is also a colloquial American English term for coffee (hence the many allusions to beans as well as beverages such as juice and tea).
While the Python logo features snakes, Python's muse seems to have been Monty Python's Flying Circus.