7 ms·
What language does not have these kinds of problems? I have encountered them with every programming language.
by Safety1stClyde 9y ago
What language does not have these kinds of problems? I have encountered them with every programming language.
- iopq 9y agoFor example, Rust distinguishes between PartialEq and Eq https://is.gd/kRvoMm https://is.gd/kRvoMm you can't derive Eq (transitive equality) on f64 https://is.gd/FjTcA5 https://is.gd/FjTcA5 but you can derive PartialEq (intransitive equality)
- Safety1stClyde 9y agoUnfortunately I do not yet know very much about Rust, but I wasn't referring to the specifics, but to the point that every programming language seems to have quirks and hidden rules.
- iopq 9y agoSo just use a programming language with less annoying quirks and hidden rules. Especially when those quirks are issues at compile time, not issues at 3 AM in production. "And I found a whole lot of references to req.randomThing and even some req.randomFunction() calls. I then proceeded to search back through every single middleware function which had run before, to figure out what exactly was going on." In a statically typed languages names are bound at compile time, so you can actually jump to the definition of each name using tooling. A JS tool can only make an educated guess.
- Safety1stClyde 9y ago"I wasn't referring to the specifics, but to the point that every programming language seems to have quirks and hidden rules."
- narag 9y agoWhich "every programming language" are those?
- int_19h 9y agoMost (all?) languages have such problems, but the quantities of them are not the same in every language.
- Daishiman 9y agoThere are certainly huge differences in the number of gotchas different plaforms have. I have been absolutely disappointed by Node's tremendous number of gotchas in deployment and massive complexity of build pipelines needed to get around the inherent issues of the platform. My deployment with Django, for example, have been much simpler to handle.
- Safety1stClyde 9y agoFor your information: to assess what projects you might be referring to, I clicked on your profile, but your hackernews profile points me to a URL with a broken security certificate belonging to Ukrainians, and even when I bypass the security warnings in the browser, I am sent to a page which gives me the message "404 not found".
- mattmanser 9y agoHackernewsers was a thing from a few years ago, not his fault it's shut-down.
- Safety1stClyde 9y agoThe above message is purely for the person above's information. I have no way of contacting them off this noticeboard, so I wrote a private message to them about that as a reply, and marked it as such with the words "For your information". As far as it being someone's fault, the profile on news.ycombinator.com is editable, so he or she could edit it as they please. What a nuisance it is to continually have to deal with people who misinterpret what other people have written.
- crimsonalucard 9y agoTake for example Elm. Elm has no runtime errors, the concept just does not exist in that universe. That's a whole series of gotchas that don't exist.