5 ms·
This is very patronizing, you're not better than some other developer because you fell in love with OCaml or similar strongly-typed languages. I don't think th
by piva00 10y ago
This is very patronizing, you're not better than some other developer because you fell in love with OCaml or similar strongly-typed languages.
I don't think this kind of criticism is healthy, you're trying to live on top of your ivory tower calling out everyone else who isn't like you as lazy and looking for job security, you really do think there's no other reason for people using languages that you aren't so fond of?
Honest question, because this kind of message is just unnecessary aggression.
- vog 10y agoIt really depends on what kind of software you build. There are certain kinds of software for which strongly-typed languages (in the sense of ML, not C/Java) are heavily underused. For those cases, parent's rant is quite appropriate and mostly justified. For example, we really, really want to have our browsers written in a language like Rust, rather than C or C++. Same with web servers, and public-facing web applications.
- easytiger 10y agoIt isn't patronising to point out the failings of weakly typed languages
- LionessLover 10y agoOnly he doesn't - he just makes claims. You happen to agree so you are satisfied - but the test is, would you like that post if it stated something you don't already agree with?
- mixedCase 10y ago> he just makes claims. When was the last time you asserted a variable's type in a statically typed language in a unit test where you weren't testing reflection?
- icebraining 10y agoI never did that in a dynamically typed language, so what's the difference? The whole point of dynamic/duck typing is that you don't care about the specific type, only that it works as you expect it to.
- sanderjd 10y agoBut I'm certain that you have written tests to assert that an object implements a method or that a null isn't propagated in some case or another (or if you haven't written those, you likely have some bugs somewhere). I totally agree with the sentiment up thread that it's super condescending to think you're a better programmer if you use a language with a good static type system, but from a personal perspective, it's so much more pleasant to let the compiler check this trivial stuff so that I can focus on testing actual logic.