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

Sure. But OP said not to use numeric literals, which 0xdeadbeef certainly is.


In case you somehow haven't figured it out by now, he meant in the body of one's code. He's fine with named constants.

Protip: If a smart person says something that seems obviously dumb to you, it's worth trying to find an interpretation that isn't dumb. Doubly so when, as here, it's from a piece that others are clearly finding smart and useful.




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

Search: