logoalt Hacker News

rramadass • today at 12:29 PM • 1 reply • view on HN

> 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

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

nylonstrung • today at 1:26 PM

I like your post, it's interesting that it centered on UML which is similar in shape to some formal concepts modelled in Lean: particularly Arrows, Quivers, String Diagrams and Petri Nets