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

And now you're using pretty much the same rhetoric than JS guys when facing to wtfjs.


No, I don't think so. The JS wtf's actually make you gasp. These are so obscure and boring.

F'ing JS equality isn't transitive for builtin types.


Even normal JS is WTF-worthy…

Allowing out of bound array indexing and operations using “undefined” seems pretty crazy to me.


For the former: technically they are about as undefined as they could be on read. On write, it's a different matter (you could decide to resize the array under the hood). Even so, I think arrays with a particular size always were simply an illustration that there is a point where you have to allocate a physical resource to something entirely imaginary and that's where infinite bounds are no longer acceptable. In the 80's that was '256', in the 90's '65535', nowadays it is more like '4G' but no matter how far we advance there are still hard limits. And on the wire it gets even more constrained.




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

Search: