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

If JS had typed structs (like they have type arrays) it would definitely be more convenient.

However, that's not where the problem starts. A lot of web sites are slow because they simply run too much code that doesn't need running in the first place and allocates objects that don't need to be allocated.

We don't need lower level constructs if we can simply start by removing cruft and be more wary of adding it. Go back to KISS/YAGNI.




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

Search: