Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

NO. NO. NO. This is exactly why styling in HTML failed. Things work great when they are broken down anatomically into specific functions. Let's not try to put all of our eggs in one basket.


Oh no. How do i make this javascript code modular?! There is no way i can split it in multiple functions or files. Now my code will be one giant blob.


In my experience, when you give developers an easy way to mangle everything together, a sufficiently large number of developers takes advantage to cause chaos. Sometimes it takes substantially less effort to deal with artificial hurdles than it takes to keep a team disciplined without them.

(brings back memories of one of my earliest web apps where I'd written a template system that on purpose delegated all by basic conditions and looping to the calling script on purpose to enforce separation; and then two of my developers tried to sneak in a new tag to allow them to embed Perl in the templates...)




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

Search: