4 ms·
It is amusing though when you inherit code written in language A by someone that is actually fluent in language B. Sometimes it's not at all idiomatic and is in
by RyanHamilton 10y ago
It is amusing though when you inherit code written in language A by someone that is actually fluent in language B. Sometimes it's not at all idiomatic and is in fact a recreation from the other language. I enjoy trying to guess what language (or planet) the person is writing code from.
- nnq 10y agoNow I feel tempted to add a comment like "written by an inhabitant of planet Brainfuck, fluent in symbolic poetry, who later became a Javascript developer" to some code I've recently reviewed...
- mgkimsal 10y agoinherited a grails codebase from a team who mostly hated groovy/java, and tried to recreate rails/ruby in almost all the code. all external supporting libraries and tools were ruby, and it had more than a few "groovy sucks because it's not ruby" comments scattered around. Apparently just the top CTO guy there liked grails, started the project, brought on people, but they all hated it. and built a massive monstrosity that was neither idiomatic ruby, groovy or java. :/
- vorg 10y ago> a team who mostly hated groovy/java Sounds like they hated Java rather than specifically Apache Groovy, which is really a scripting language for systems already built with Java code.
- mgkimsal 10y agoprobably a bit of both, but the bulk of the code (grails code) was almost all groovy, and there was enough complaints about how 'slow' groovy was that there was some groovy-specific hate going on as well. Granted, especially then, groovy wasn't the fastest around, but for most of what was being done, it wasn't a bottleneck (and... ruby at that point wouldn't have been any faster - there was some prototypal stuff in ruby to try to make some processing faster, and it wasn't).