Show newer

When things are getting tough, and you feel like giving up,
just say to yourself:

There is no I in quit!

Now get back in there and shut up.

_How JavaScript Works_ is now available on Google Play Books.

I am thinking that programming languages should make cycles the standard angular unit. It is the most convenient for programming. It is less baffling to normal people than radians. Computers can express them exactly.

Mathematicians may still have reason to prefer radians, but they are smart enough to know how to do the conversion.

Most people measure angles in degrees (0 ... 360). Most mathematicians measure angles in radians (0 ... 2π). But as a programmer, I think it is best to measure in cycles (0 ... 1). It is trivial to correct overrotation (discard the integer part). It is trivial to find the quadrant (the two msbs). Table look implementations of sine are trivial as well.

All three conventions work, and each is easily convertible into the others.

Show older
Layer8 in Space

Welcome to the 8th Layer of Madness

Most topics are related to Linux, Anime, Music, Software and maaaany more