News for hackers. Stuff that matters.
Re:Tell HN: I spend so much time solving problems I feel lik... by throwaway000020 on Thursday December 10, 2015 @05:26PM (#10714029)
Yes I am in the JavaScript ecosystem. I feel like I'm trying to escape from an Amazonian jungle of errors and things that don't work, trying to find a path that appears and disappears and sometimes is trodden by others and sometimes grown over, always with thorns and strangle vines, dead ends, thousand foot waterfall roadblocks. My food is running out and my feet hurt and by day the sun burns and at night there are the eyes of the beasts watching and waiting for me to fall.
Re:Tell HN: I spend so much time solving problems I feel lik... by timr on Thursday December 10, 2015 @06:40PM (#10714471)
Speaking as someone with a lot (20+ years) of dev experience, I highly recommend that you switch to a more mature language ecosystem. Other than the fact that it's in every browser, javascript is a horrible place to learn how to code.

Javascript development is a total mess. Even very experienced people spend a ton of time trying to navigate that ever-shifting terrain. It's also a very primitive, clumsy language, missing the most basic tools that a developer might want (e.g. first-class includes and packages, for starters). To top it off, in my experience, the average JavaScript developer is quite inexperienced. The good examples of javascript code are outnumbered 100:1 by bad examples.

If you're doing web dev, Ruby and Python are good places to start. Pick a language where there are a core set of experienced leaders who have been working for years, and there's a small set of "right" ways to do things.

Re:Tell HN: I spend so much time solving problems I feel lik... by jsharpe on Thursday December 10, 2015 @05:33PM (#10714079)
Sometimes it helps to go back to the basics. Just write the simplest possible app, without frameworks or anything. You'll figure out what the pain points are for you, and suddenly frameworks and tools will make way more sense.
Re:Tell HN: I spend so much time solving problems I feel lik... by krisajenkins on Thursday December 10, 2015 @05:53PM (#10714210)
Writing JavaScript and feeling you're surrounded by errors is pretty normal. It's a hastily-designed language. There's no getting away from the fact that everything is going to feel a little bit fragile. Just accept it and don't expect perfection.
Re:Tell HN: I spend so much time solving problems I feel lik... by muzmath on Thursday December 10, 2015 @08:06PM (#10714859)
Hastily designed for version 0.0.1, this is simply not the case if you are using modern EMCAScript
Re:Tell HN: I spend so much time solving problems I feel lik... by krisajenkins on Friday December 11, 2015 @04:05AM (#10716087)
Is equality still broken? Are maps still broken? Is it still a sporadically whitespace-sensitive language?
Re:Tell HN: I spend so much time solving problems I feel lik... by qwertyuiop924 on Friday December 11, 2015 @08:10AM (#10716854)
not AFAIK, but I am not an expert.
Re:Tell HN: I spend so much time solving problems I feel lik... by krisajenkins on Saturday December 12, 2015 @05:53AM (#10722368)
Leading questions, I'm afraid. Yes, equality is still broken, maps are broken (and in new & interesting ways in EMCAScript 6), and the language is occasionally whitespace-sensitive.

JavaScript was hastily designed, has never recovered, and shows no sign of ever fixing the fundamental problems. :-(

Re:Tell HN: I spend so much time solving problems I feel lik... by muzmath on Sunday December 20, 2015 @08:00PM (#10769001)
Case sensitivity i'm assuming you mean the automatic semi-colon insertion due to a line break after a return statement? I have a hard time seeing this as being a reason to dislike an entire language.

Most languages have features to avoid, JavaScript is no different. Many JavaScript developers use linters to avoid the poor `==` feature. I'm unfamiliar with the argument of the `Map` datastructure implementation being broken. Do you have a reference to that claim?

Re:Tell HN: I spend so much time solving problems I feel lik... by qwertyuiop924 on Sunday December 20, 2015 @05:06PM (#10768471)
Equality isn't really as broken as people seem to think. And if it bothers you that much, use ===. Yes, it can be annoying, but it works.

What do you mean about maps, and whitespace sensitivity? I've never heard anything about that.