Hacker News new | past | comments | ask | show | jobs | submit login

Try not using prototype or class in JavaScript for a while, and you will do just fine without them. If there's a paradigm, or best practice, and you want to learn, don't follow it and see what happens.



I write procedural scripts all the time for just getting things done, often in JavaScript, Perl and PHP.

I've only worked on one application written without any OO patterns, completely procedural, and it was a complete mess.

Adding or extending features caused cascading bugs. Eventually we had to rewrite the backend (PHP) into MVC to be productive. I quit because I dreaded the work. I didn't want to write another line.

I have been pretty interested in functional programming lately, or the functional paradigm everyone in JS is following nowadays, but haven't gotten the chance to take a deep dive yet.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: