4 ms·
Its great for writing code-agnostic specifications for software. And is often easier to read than actual code. Languages like TLA+ can be considered as a form
by max_ 3y ago
Its great for writing code-agnostic specifications for software. And is often easier to read than actual code.
Languages like TLA+ can be considered as a form of pseudocode as they cannot be compiled down to code.
Yet TLA+ is used very much in the real world for describing complex algorithms.
- weare138 3y agoI've always wondered why we haven't just come up with an actual language with a pseudocode syntax. Even if the focus was on prototyping with the intention of transpiling to a different lang later it seems like it would save us some time having proper dev tools for prototyping with pseudocode.
- hwayne 3y agoALGOL was supposed to be this, but then people kept on making extensions to make it compilable.
- jaredsohn 3y agoI think a part of the purpose of pseudocode is it helps you focus on what the code is trying to do and it removes the distractions of syntax, style, etc. You can probably just use LLMs to convert the pseudocode anyway.