The need for a formally verifiable mainstream programming language (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Haskell has interesting uses in industry, but in general in the last decade or so the functional paradigm has become retrofitted to basically each mainstream language. Like java's streams/lambdas, algebraic data types in basically every modern language (rust), immutable by default, etc.
Replies (2)
Replies (4)
Replies (3)
If the majority say "you don't need a degree" then you don't need a degree.
If the majority believes in "move fast and break things" then things stay broken.
JS devs are doing monadic development (async is just that), and plenty of lambda passings, with the predominant frontend framework model being one where the view is a pure function of state, driven by reactive changes of the state.
Functional won vast areas in mainstream programming. What you are saying may have been true 15 years ago, but not anymore.
Replies (1)
I think software development and the tools underlying it could be wildly more powerful and exploit the underlying computer algebra more directly if dev tools didn't have to cater to the lowest common denominator imperative language dev
LLMs are valuable to me not because they can replace the types of coding these devs do, but because they have a far more deeper 'understanding' of the foundational math and algebra than could ever be expected of the average dev
There's ways software engineering could engage much more directly with these concepts to produce more sound and expressive results if the "user" could be safely assumed to be an IMO level mathematician like a sufficiently powerful LLM is
Replies (1)
This is the correct way to look at using LLMs for coding using their "jagged intelligence". The key here is that the developer has to know enough of the formal methods mathematics to guide the LLM within proper guardrails such that it cuts down on the non-determinism. You don't have to be a master mathematician who knows every single detail but just have enough conceptual understanding of the domain that you can create modular components and link them together using pre/post/invariants/assertions and type-driven design. You keep overall control while leaving the drudgery to the LLM.
Here is one process methodology that i wrote up - https://news.ycombinator.com/item?id=50319347
Replies (1)
Java was the laggard there, and yeah I hated Java for years. Python and JS supported functional programming from early on, yet nobody went all the way with it. Python is the leader for toy problems like coding interviews and pseudocode that should be totally doable with pure functions, but nobody does that.