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

"Don´t use negative logic for your variable names."

Obviously written by a software weenie who lives far, far away from the actual hardware. ;-) (Digital logic often uses active-low signals for good electrical reasons. And some purely historic reasons: do memory chips actually need to power up in the activated state?)



What what what?


Many circuits work with Boolean values that are true in the 0 state, and false in the 1 state: negative logic. That had better be reflected in the variable names.




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

Search: