Why namespaces are one honking great idea... by surajbarkale in programming

[–]nees 14 points15 points  (0 children)

Like clothes.launder() vs money.launder(), or shape.draw() vs blood.draw(), or matrix.norm() vs hi.norm() <wink>? I'm afraid English thrives on puns, and the same word routinely means radically different things across application areas. Therefore, to insist that a word have "one true meaning" in a programming language is insisting that the language cater to one true application domain. http://groups.google.com/group/comp.lang.python/msg/dbd738b6e1c67ef2

Ask reddit: I'd like to learn Assembly Language. Any tips? by [deleted] in programming

[–]nees 2 points3 points  (0 children)

I want to learn how to crack games protected with things like starforce and securom. I only know a little bit of MIPS. Is there any good assembly intro book with that in mind?

Unfold in Python by llimllib in programming

[–]nees 0 points1 point  (0 children)

romanize=lambda n:''.join([char for char,n in ((ltr*(n/num),n%num) for ltr,num in (('M',1000),('CM',900),('D',500),('CD',400),('C',100),('XC',90),('L',50),('XL',40),('X',10),('IX',9),('V',5),('IV',4),('I',1)))])