Better HN
topnewbestaskshowjobs
Log inSign up

throw8763115

2 karma · joined Mar 5, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

My introduction to functional programming, which I have embraced, came from the JavaScript community.

This is ironic. Supposedly, academia is where thought leadership comes from. In fact, much of a generation of university-trained software engineers have been subjected to a parochial form of education that centered on sink-or-swim Java projects while eschewing JavaScript as unworthy.

The React framework has been a driving influence behind recent industry movement toward functional programming, I suspect. It handles asynchronous UI events nicely by making the UI a pure function of the state. For me, and perhaps for many others, this structure was a breath of fresh air. Popular JavaScript linting policies —- also developed in the industry —- have further coached me into preferring functional programming styles, which have turned out to offer a lot to love.