Live data from Hacker News

JavaScript developers are incredible at problem solving, unfortunately

cube-drone.com

21–30 of 100 posts

Re: JavaScript developers are incredible at problem solving, unfortunately

#21
post #7

"Prototypal inheritance is pants-on-head stupid." Well, he's almost merely wrong, if he were to take out the "prototypal" part.

Prototypal inheritance works well, if you understand it. It's only "wrong" if you're of the Java/C++ OOP religion.

I find most people who have gripes with JS prototypes are the ones who are used to classical inheritance. Overall, the more I understand JS, the more I'm convinces most issues raised are personal preferences.

Re: JavaScript developers are incredible at problem solving, unfortunately

#22

I learned a while ago that it doesn't matter how broken something is if everyone is using it. Humans are incredibly resourceful, if not also short-sighted. Look at PHP, look at Javascript, look at Wordpress, look at email, look at the original jQuery etc...

Well, part of the problem in this case is that JS or something that compiles to JS is the only option for running in the browser, unlike PHP or Wordpress, which have many alternatives.

Re: JavaScript developers are incredible at problem solving, unfortunately

#23
JavaScript is both easy to get into, but difficult to master. There are places on your path to JavaScript mastery where you're literally like, "Did I make the right choices in my life?". Push a little harder, and like anything, the added effort to understand the choices put in front of others, and why something works the way it does, will be rewarding.

Illustrations/points like cube-drone has made here are popular because it's partly an over-exaggeration, and partly true. People on either side of the fence (JS mastery, or not), can find some kind of common ground of, "Right?? Isn't it painful??"

It's painful if you let it be. With the right mentors, and the right motivation, you can make JavaScript do wonderful things.

As a whole I think JavaScript has made the web a more fun and interesting place, no matter how much you want to bitch about the language or the ecosystem. We stand on the shoulders of giants, and I, for one, appreciate it. Thanks Brendan Eich! :)

Re: JavaScript developers are incredible at problem solving, unfortunately

#24

One wonders how we get out of this mess. You'd have thought that Microsoft/Google/Apple/whomever would have at least tried to include a better alternative language in their browser by now. What stops them besides inertia?

Funny thing: JavaScript was actually supposed to be Scheme, not once but twice, and both times it was scrubbed because Netscape was in fierce competition with Microsoft.

Re: JavaScript developers are incredible at problem solving, unfortunately

#25
post #9

This is absolutely a NIGHTMARE for new developers. People come into the language, and there are what seems like an infinite number of "the only right" ways to do something, all of vary degrees of complexity/usefulness, and all claiming that they are god's gift to computer science. That last part is the part that is most frustrating to me, and it isn't unique to javascript. Google, facebook, yahoo, etc. have all gotte…

> People come into the language, and there are what seems like an infinite number of "the only right" ways to do something, all of vary degrees of complexity/usefulness, and all claiming that they are god's gift to computer science.

Maybe we need to start proselytizing and make all the incoming Javascripters repeat: "There is no god but Crockford, and JSLint is his prophet."

Re: JavaScript developers are incredible at problem solving, unfortunately

#26
post #14

I'm not sure how to interpret the last part... "Where I am from, the point of digging is not freedom from digging." Is it a statement that the point of digging is to reach further and learn more (positive)? Is it a statement more along the lines of "We dig because we must dig to survive." (negative)? Or possibly that digging is simply a way of life (negative)?

It's a joke, that's the punchline.

The corollary being the axiom:

  "If your problem is that you're stuck in a hole, the 
   first part of fixing that is: do not make the hole 
   deeper by digging, since that makes the problem worse."
As opposed to the mindset of developers being akin to a coal miner, where the goal is to dig, and a bottomless pit is not a problem, it's the goal. (in other words you stay employed)

Consider the lyrics from the song Trust Your Mechanic by Dead Kennedys.

  Trust your mechanic to mend your car.
  Bring it in to his garage.
  He tightens and loosens a few spare parts.
  One thing's fixed, another falls apart.

  Trust your mechanic to make you well.
  You're seeing an awful lot of him now.
  The quicker he makes your life fall apart,
  The more money you put in his pockets.

Re: JavaScript developers are incredible at problem solving, unfortunately

#27
post #14

I'm not sure how to interpret the last part... "Where I am from, the point of digging is not freedom from digging." Is it a statement that the point of digging is to reach further and learn more (positive)? Is it a statement more along the lines of "We dig because we must dig to survive." (negative)? Or possibly that digging is simply a way of life (negative)?

I take it to mean that if you keep digging, the hole will just be deeper. I.e. you cant dig yourself out of a hole.

Re: JavaScript developers are incredible at problem solving, unfortunately

#28

One wonders how we get out of this mess. You'd have thought that Microsoft/Google/Apple/whomever would have at least tried to include a better alternative language in their browser by now. What stops them besides inertia?

Funny thing: JavaScript was actually supposed to be Scheme, not once but twice , and both times it was scrubbed because Netscape was in fierce competition with Microsoft.

One must wonder whether Netscape greenlighting the addition of a Scheme dialect simply would have caused Microsoft or another party to implement some flavor of ALGOL or BASIC in return and leave the hypothetical SchemeScript going the way of the dodo, much like Netscape's JavaScript Style Sheets that almost no one remembers today.

Re: JavaScript developers are incredible at problem solving, unfortunately

#29

I learned a while ago that it doesn't matter how broken something is if everyone is using it. Humans are incredibly resourceful, if not also short-sighted. Look at PHP, look at Javascript, look at Wordpress, look at email, look at the original jQuery etc...

qwerty keyboard is my favorite example. Designed to solve the key sticking problem when typing too fast but now we're all stuck with a layout designed to be inefficient.

https://www.addedbytes.com/blog/dvorak-vs-qwerty/

Post reply on HN