|
|
Subscribe / Log in / New account

The curious case of the switch statement (fuzzy notepad)

The curious case of the switch statement (fuzzy notepad)

[Development] Posted Sep 21, 2016 14:49 UTC (Wed) by corbet

The fuzzy notepad blog is carrying a post about the switch statement with just about everything one might want to know about its past, present, and possible future. "As we’ve seen, the switch statement has had basically the same form for 49 years. The special case labels are based on syntax derived directly from fixed-layout FORTRAN on punchcards in 1957, several months before my father was born. I hate it."

Comments (24 posted)


Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds