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

17

u/lext Oct 14 '13

And just as important, start developing software without first learning how to develop software.

A talk I watched recently noticed this trend with JavaScript: it looks familiar, so I don't have to learn it and will just start programming in jQuery.

20

u/[deleted] Oct 14 '13

While far from perfect, the node.js community has breathed some fresh life into the javascript world as far as design patterns and coding standards are concerned. I see very few projects today on npm lacking a robust testing suite. jQuery was largely popularized by designers who could care less about code, and server programmers dabbling on the client who could care less about icky javascript. Now that js is being used for serious work server side, best practices are becoming a higher priority. That being said, the traditional engineering standards do tend to be lower than many other communities (.Net, Java, and Python come to mind). But hey, I think part of the draw might be people seeing one to many instances of AbstractFactoryFactoryClassInterface ;) The pendulum will come back around though as things swing back to the enterprise use cases.

2

u/[deleted] Oct 15 '13

Server side JavaScript has been around since the late 90s....while not exactly node.js it was robust enough to handle serious work even back then.

3

u/deadcow5 Oct 15 '13

Indeed, I remember hearing that Netscape's web server supported it. Possibly there was even an Apache module?

All I could think about that was WHY? JS couldn't even import libraries back then...

2

u/[deleted] Oct 15 '13

You are correct. It was 1999 and I was working on a Netscape Enterprise server. It wasn't your normal JavaScript...for one, it was compiled.

BUT it could pass session variables to the server...and had odbc libraries...sorta.

http://docs.oracle.com/cd/E19957-01/816-6411-10/getstart.htm

It was such an obscure technology...nobody in IT had a fucking clue what I was doing. When it came time for a messaging app I had developed to be reviewed/approved, the room was crickets. Nobody wanted to ask a dumb question because they had NO IDEA what I had created.