Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The C language is purely functional (conal.net)
1 point by mathgenius on March 6, 2024 | hide | past | favorite | 1 comment


About two decades ago when I was a young programmer C was used as an example of a functional programming language because functions are first class citizens.

But according to interviews I’ve had in the last decade I guess functional programming actually means languages with a pattern matching syntax and immutable data types.




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

Search: