3 ms·
I tend to use Python for most things. It's quite expressive and it's quite simple to deal with, in particularly when things go wrong. There is plenty of good c
by lucian1900 14y ago
I tend to use Python for most things. It's quite expressive and it's quite simple to deal with, in particularly when things go wrong.
There is plenty of good criticism for C++ out there. I would never use it by choice, but it is almost the only reasonable language to use for game development at the moment.
Java is less insane than C++, but it's also extremely verbose, restrictive and inexpressive. The JVM is also annoying to deal with, in particular because of startup time, memory usage and debugging.
Both have stupid, useless type systems that only get in the way. There is almost no value at all in the kind of static checking either of them does.
While I see the value of a good type system (like Haskell, Scala, Rust and to a small extent Go), I have yet to be comfortable enough with either to replace Python to any extent. I've done "evil" things in Python in a pinch that I'm not sure I could easily reproduce in a non-dynamic language.
- mnarayan01 14y agoThere is almost no value at all in the kind of static checking either of them does. OK that's just ridiculous. If nothing else (and there really is a lot else), they catch undefined variable usage and such.
- lucian1900 14y agoThat sort of lint is easily done in Python, in fact I have it integrated in my editor. More interesting static checking is not, however, doable in either C++ or Java. Hence why I find that the current checks are not worth having a stupid and annoying type system.