?

Log in

nirvana

Someday When I Write My Own Programming Language...

I'll make the modulo operator (%) return an array with two values: the usual remainder and the quotient. So, "17 % 3" would return "array( 2, 5 )". Otherwise, you have to do something like:

q = 0;
r = 0;

r = 17 % 3;
q = (17 - r) / 3;

Mind you, it's trivial. Still, it's an extra, unnecessary step and seeing as how the division calculation must have been done in the first place to get the remainder.


Oh, and I work at CD Baby now. Yay!

Comments

>Oh, and I work at CD Baby now. Yay!
COOL!! I love CD Baby; such a great way to find small bands doing really unique things. Plus the baby head is creepy-cute.

I'm not going to pretend what the first part of that post means. ;)
nirvana

November 2009

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     
Powered by LiveJournal.com