2 ms·
>Unbeknownst to some, Javascript comes equipped with a relatively good set of bitwise operators. Never thought that there were people doing Javascript who didn
by anotherangrydev 11y ago
>Unbeknownst to some, Javascript comes equipped with a relatively good set of bitwise operators.
Never thought that there were people doing Javascript who didn't know about bitwise operators. I guess I know where 99% of the "Javascript sucks" posts come from.
- Kequc 11y agoIt is a low level language, it is blazingly fast and powerful if you use it correctly. It is also badly designed and disliked as far as I can tell just about universally in every aspect as a language. Objective C is also blazingly fast and powerful if you use it correctly but not everyone wants to. It isn't about not knowing it has access to bitwise operators.
- yoklov 11y agoJS is not really a low level language in any sense.
- _greim_ 11y agoMy assumption was that JS bitwise misses the advantages of speed and space-compactness of bitwise in other langs, since you only have 64 bit floats to work with, thus forcing conversion to int and back for any bitwise stuff. I haven't read any good in-depth articles on the subject though.