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

It’s the same in SQL and Ada. “Case” is an abbreviation for “case distinction” here.

“Switch” was never intuitive to me, because nothing gets switched.




"Switch" to this statement in "case" of this expression, seems quite easy to grasp.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: