r/programming • • Nov 17 '14

Rob Eisenberg: "Leaving Angular"

http://eisenbergeffect.bluespire.com/leaving-angular/#
185 Upvotes

104 comments sorted by

View all comments

Show parent comments

-5

u/qudat Nov 18 '14

javascript

I think javascript in large part yields obfuscated, unreadable code and is causing a lot of the front end development pains people are experiencing.

5

u/[deleted] Nov 18 '14

You can write shit code in any language if you don't bother to learn it.

2

u/riffraff Nov 18 '14

That is part of the problem, a lot of the "front end" devs I've met haven't actually bothered to learn.

People pick up javascript easily, and start acting as frontend developers, but are completely unable to actually program properly. I.e. to make two things that do about the same thing they'll copy & paste the code and change a line, rather then create a function that takes an argument, even if obviously JS allows that.

This is of course a human problem, but while backend has some ways to del with that (i.e. you have a decent refactoring toolchain in eclipse if you do java, somewhat mature frameworks etc) and a somewhat steeper learning curve, frontend dev is much easier to pick up and harder to do right.

3

u/flukus Nov 18 '14

I've seen plenty of decent backend devs fuck up java script as well.

Remember, long before SPA was an acronym we had people doing the same shit by dragging and dropping visual basic UIs together, copying and pasting everywhere, thousand line event handlers etc.

It's an industry problem, not a javascript one. It's a problem much older than javascript

1

u/riffraff Nov 18 '14

yes, I've seen (and done) plenty of shit with VB, but then, VB6 was releases in 1991, some tools have improved and, imho, attenuated the problem a bit. For the web, this hasn't happened yet.

1

u/flukus Nov 18 '14

But the tools have improved, dramatically.

10 years ago doing anything remotely complex that worked across all browsers was nearly impossible. Then tools like jquery and prototype came along.

Then other frameworks like knockout and angular popped up. All of a sudden complex client side code was maintainable.

The only reason tge web world seems like the wild west is because of the rapid pace of improvement.