decomplexification continued

Last spring I wrote a blog post about our ongoing work in the background to gradually simplify the curl source code over time. This is a follow-up: a status update of what we have done since then and what comes next. In May 2025 I had just managed to get the worst function in curl … Continue reading decomplexification continued →

daniel.haxx.se

@bagder

that reminds me to an old FORTH wisdom:

Use several short word definitions rather than one long word definition. Break your problem up.​ ​Don’t ever create a Forth word that is hundreds of lines of code long. The beauty of Forth is its ability to build upon itself, allowing you to test as you go. To this end, keep your Forth words to three or four lines of code where possible. That might sound strange if you’re used to other languages, but once you get into the swing of Forth, you’ll understand that this is a logical approach to coding.

https://udamonic.com/creating-words.html

Creating Words

​A new word is created by using a colon definition . This simple example program squares the value on top of the stack:

udamonic.com