Moving from Python to Java :(
For last 9 months my company was developing an enterprise application. Our main language was Python. Its going to implement all over India by next few months. Next month we will start our new project, Java will be our main language. Now I started refreshing my Java. And this is one thought came to me today, when I looked into Strings in Java. One of Python's primary design principle is that: "Special cases aren't special enough to break the rules." That is, the language should avoid having privileged features that you can't reuse for other purposes. The consequence of this principle is, more generalisation of syntax and semantics of a language. In Python : (of course, there are better ways) age = 9 print "He is " + str(age) + " years old." In Java: int age = 9; String s = "He is " + age + " years old."; System.out.println(s); Concatenating string and integer like this is possible in Java, because it is a "spec...