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

Back then, most all the Javascript you ever saw was client-side form validation. Single-page-apps were still a long way off, so all web apps were built in form submission style: the user fills out some form data, it gets sent to the server, the server tells them they filled it out wrong and re-presents the form to the user. You could make that a little more user-friendly by having Javascript validate the form _before_ the users submitted it: but you had to validate it again on the server side because the user might have Javascript turned off, or might be a hacker. That meant that, for most web developers, Javascript just meant extra work: you had to duplicate your form-validation logic in a very finicky, untestable, untyped programming language. Browser makers were working on adding some flashier stuff like drop-down menus and image rollovers, but they didn’t work across different browsers (all both of them), so even the few people who did know how to use the extensions were encouraged not to. It seemed like everybody who could avoid Javascript did - I can’t really for the life of me understand how the early Javascript developers actually got anything done in it. It was a really painful way to develop software until maybe ten years ago.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: