Earlier quoted context omitted.
Just to note, I am in no way claiming Java is superior. Java is inferior in ways I think are not the ones Yegge claims. For me, these are the things Java sucks at. 1) There is no easy way to create lists or maps. Look at python; how easy it is to create a dictionary. In Java, you have to "write code" to put elements in a map. 2) Reflection is very weak. It is not type checked at compile time. You have to write a lot…
For all of its warts, Groovy really makes much of this more tolerable in an environment that readily interoperates (call either way in/out) with legacy Java code. Java file handling with dozens of classes still seems a horrific solution, like you said. I don't miss having to constantly check return codes and "errno", vs getting IOException, but I do miss the simplicity some days of "FILE *" and fopen()/popen(). (I al…
Execution in the Kingdom of Nouns (2006)
71–73 of 73 posts
Re: Execution in the Kingdom of Nouns (2006)
#72Earlier quoted context omitted.
Just to note, I am in no way claiming Java is superior. Java is inferior in ways I think are not the ones Yegge claims. For me, these are the things Java sucks at. 1) There is no easy way to create lists or maps. Look at python; how easy it is to create a dictionary. In Java, you have to "write code" to put elements in a map. 2) Reflection is very weak. It is not type checked at compile time. You have to write a lot…
My "favourite" thing about the One Class Per File thing is that (certainly when I last used it) javac would refuse to compile the class file unless it was in a directory tree identical to its namespace, and you fully specified that on the command-line. # Worked javac org/eclipse/something/SomeClass.java # Failed cd org/eclipse/something/ && javac SomeClass.java
Re: Execution in the Kingdom of Nouns (2006)
#73Earlier quoted context omitted.
Just to note, I am in no way claiming Java is superior. Java is inferior in ways I think are not the ones Yegge claims. For me, these are the things Java sucks at. 1) There is no easy way to create lists or maps. Look at python; how easy it is to create a dictionary. In Java, you have to "write code" to put elements in a map. 2) Reflection is very weak. It is not type checked at compile time. You have to write a lot…
For all of its warts, Groovy really makes much of this more tolerable in an environment that readily interoperates (call either way in/out) with legacy Java code. Java file handling with dozens of classes still seems a horrific solution, like you said. I don't miss having to constantly check return codes and "errno", vs getting IOException, but I do miss the simplicity some days of "FILE *" and fopen()/popen(). (I al…
5 yrs ago Groovy had the best interop with Java, and its promoters said so often, but things have changed a lot since then. Perhaps now you'll find another language has all the interop you need but without those warts.