Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> So I have to learn how to describe code rather than just writing it as I've done for years?

If we keep going down this path, we might end up inventing artificial languages for the purpose of precisely and unambiguously describing a program to a computer.




You mean logic programming? https://en.wikipedia.org/wiki/Logic_programming

Its been around for decades. In fact this was the first approach to doing AI.

In logic programming you basically write concrete set of test cases and the compiler generates the code for which the test cases hold 'true'.

In other words you get a language to 'precisely and unambiguously describe a program', as you said. Compiler writes the code for you.


Sad that GP's wit was lost on you.


And yet I learned something!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: