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

Which language would stop/warn you assigning the value of a constant to a variable? Doesn't "var = const" just work in most languages?


It's yoda condition, so const = var would fail.




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

Search: