WeSearch

K Fragments

·2 min read · 0 reactions · 0 comments · 16 views
#programming#k language#software development
⚡ TL;DR · AI summary

The article discusses the author's experience of reviewing and digitizing their work notebooks, which contain around 900 handwritten pages. It highlights various programming fragments that solve problems or illustrate idioms, primarily in the K programming language. The author notes the similarities in solutions among different programmers and provides examples of specific functions and their applications.

Key facts
Original article
Beyondloom
Read full at Beyondloom →
Opening excerpt (first ~120 words) tap to expand

K Fragments I recently reviewed and digitized my work notebooks from the last four years- about 900 handwritten pages. In the process, I collected a number of short K fragments which solve interesting problems or illustrate idioms. Most of these I personally “discovered”, but in some cases I later found find prior art elsewhere on the internet. This provides a nice illustration of how crystalline K programs can be: presented with the same problem, two programmers are surprisingly likely to arrive at character-for-character identical solutions. Since these were mostly composed at work, many are k3-based. I have annotated which fragments work in several dialects. Accumulator Generator (oK only) In oK, dyadic .

Excerpt limited to ~120 words for fair-use compliance. The full article is at Beyondloom.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Beyondloom