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

Another helpful thing is how many programming languages have "assignment" and "comparison" operators.

I remember TI basic has "=" for comparison, and "<-" for assignment, like, 'A<-5'. That one, to me made, the most sense. "Put the value of 5 in something called A."



iirc in TI-BASIC, assignment goes the other way so you could have "B + 5 -> A" which also helps seeing that the expression would be evaluated before storing (the button to input -> on the calc is STO, short for store).




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

Search: