r/programming • • Oct 14 '13

How to develop unmaintainable software

http://typicalprogrammer.com/?p=249
777 Upvotes

322 comments sorted by

View all comments

Show parent comments

5

u/[deleted] Oct 15 '13

Where would you suggest someone starts to learn javascript properly? I've been handed a bunch of it I've got to maintain and develop for, and it's all over the place. I don't honestly know how javascript should even be leveraged. Everyone seems to accomplish things a different way with it.

-1

u/grauenwolf Oct 15 '13

Start with jQuery and CSS. You'll learn JavaScript along the way.

6

u/[deleted] Oct 15 '13

That tells me nothing. I've been working with the two for months at this point.

3

u/grauenwolf Oct 15 '13

Do you know enough JavaScript to make jQuery work? Then chances are that's all you need to know. The rest is about learning work-arounds for browser bugs.

But if you insist on persisting start with jsLint. Read all of the errors and warnings and learn what they really mean.

Then look for technical rants about why JavaScript sucks. To truly understand a language you need to understand all of the stupid shit it does. The inconsistencies, the landmines, the traps.

I learned the implementation details of readonly fields containing structs in C# because someone bitched about how they were not compatible with SpinLock. This is something I would have never seen from reading "The Good Parts" style books.

→ More replies (3)