<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ten-lines-of-code-that-changed-my-world-pixelambacht-hustfjyxe" -->

---
title: Ten Lines Of Code That Changed My World – Pixelambacht
description: A personal, nostalgic collection of ten memorable code snippets spanning a programmer's career, including the classic 'Hello World', JavaScript's infamous...
canonical: https://daily.dev/posts/ten-lines-of-code-that-changed-my-world-pixelambacht-hustfjyxe
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Ten Lines Of Code That Changed My World – Pixelambacht | daily.dev
og:description: A personal, nostalgic collection of ten memorable code snippets spanning a programmer's career, including the classic 'Hello World', JavaScript's infamous...
og:url: https://daily.dev/posts/ten-lines-of-code-that-changed-my-world-pixelambacht-hustfjyxe
og:image: https://api.daily.dev/og/posts/HuSTfJyXE.png
og:image:alt: Ten Lines Of Code That Changed My World – Pixelambacht
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ten Lines Of Code That Changed My World – Pixelambacht

**[Lobsters](https://daily.dev/sources/lobsters)** · 4 min read · 4 upvotes · 0 comments

## Summary

A personal, nostalgic collection of ten memorable code snippets spanning a programmer's career, including the classic 'Hello World', JavaScript's infamous 'wat' quirks, 6502 self-modifying assembly, a DOS-era touch.bat script, a CSS debugger trick using outline styling, game memory hacking via PEEK/POKE, a dark-humor 'speed-up loop' story, the ironic 'rm -rf /' Linux troubleshooting joke, a homemade 90s password scanner written in Pascal, and a 280-character CSS-only animated poem. Each entry is accompanied by a brief reflection on what it taught the author about computing, hacking culture, or creative constraints.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://pixelambacht.nl/2026/ten-lines-of-code>

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 65 comments across hackernews, lobsters (as of 2026-09-28).

**TL;DR:** The nostalgic roundup mostly triggered warm reminiscing, with people sharing their own formative code snippets from BASIC, Logo, C64 hacking, and CSS debugging, plus some good-natured nitpicking over technical details like outline vs. border and the true origin of 'Hello, World'.

**Sentiment:** 70% positive · 25% mixed · 5% skeptical

**The case for**

- Many shared fond personal memories of their first programs (BASIC loops, POKE tricks, Logo, save-game hacking) that the post's theme evoked.
- Several found the collection genuinely inspiring and enjoyed contributing their own 'ten lines' equivalents.
- The CSS debugging trick and rm -rf joke were called out as fun, relatable entries.

**The pushback**

- Several pointed out the CSS debug snippet should use outline instead of border since border changes page layout.
- Some noted the touch.bat script is misleading/dangerous since it destructively wipes existing files rather than behaving like real touch.
- A pedantic subthread disputed whether 'Hello, World' truly originated with C or traces back further to B.

**By community**

- hackernews (positive): Long, warm thread of shared childhood coding memories with some technical nitpicking about CSS debugging and the history of 'Hello, World'.
- lobsters (positive): Shorter, appreciative discussion where people mostly added their own nostalgic code snippets and small technical asides.

**Hottest debate:** Whether 'Hello, World' as a first-program tradition originated with C or traces back to the earlier B language.

**Highlights**

> May I add my own: ```basic OPEN "filename.txt" FOR BINARY AS #1 PRINT INT(LOF(1) / 5.1) CLOSE #1 ``` I was born in the early 80s. My father was a programmer then and would read Computer Weekly magazine. They'd have regular competitions to write simple programs, which would be marked for things like speed, complexity and accuracy. My father told me about a time the challenge was to write a word counter. He walked me through the basic ideas, like looping through characters and counting spaces. But what about the multiple spaces between paragraphs and hyphenated words? It wasn't as simple as it seemed. He was setting me up to appreciate the winner. No for loops, no exceptions, just divide the file size by 5.1, the average length of a word in the English language. He really laid a seed in me with that story. How intriguing that, as long as the file wasn't too small, such a simple trick could compete on accuracy with more "correct" solutions. I saw that programming wasn't just a mechanical task but one of creativity, flair and surprise.
> — [tombh on lobsters · 14 points](https://lobste.rs/s/fpk9gq/ten_lines_code_changed_my_world#c_pt3xgk)

> Hmm. What a great question.     while(1) { fork(); }  Must have meant something to me, because it was in my Usenet sig. And then:     exit(main(kfp->kargc, argv, environ)); from FreeBSD crt0; kind of a big moment for me to realize there was more C code underneath main(). Then:     statements: /*E*/ | statement statements The moment Yacc clicked for me; that line was profound but a more accurate depiction of the moment was realizing that all you were doing with the parser generator was building a tree, and that's what the side effects of each production were for: returning and plugging in tree nodes. If there was a single line I could come up with for "double the size of the hash table when it fills up", that'd deserve a slot here. Then, of course (we get to cheat because assembly):     jmp .call     .pop: pop esi     ...     .call: call .pop The "delta offset" trick, which I believe came from x86 virus culture but was universal in 90s overflow exploits as a way to get position-independent references to strings and other memory things. For sure:     void walk(node *n) { if(!n) return; walk(n->left); visit(n); walk(n->right); } I should figure out a way to fit a write-select(2) into a line because that's another "oh shit" moment for me. Similarly: when Vern Paxson explained to me that he'd implemented TCP reassembly by simply opening up a file and using "seek" to place incoming segments in the right position. I could probably golf that down to a line! But it would be an annoying line.
> — [tptacek on hackernews](https://news.ycombinator.com/item?id=49868761)

> In high school, my friend and I were demonstrating to Fred the magic powers of our IMSAI 8080 with ye olde:   10 PRINT "FRED IS A GEEK"   20 GOTO 10 To wit my friend and I would giggle and taunt. Undaunted, Fred took a look around, found the power button, and turned the machine off. Yes, that power button next to the "DO NOT TURN OFF" sign. As the monitor and LEDs faded to black, the giggling stopped and my friend and I stood aghast at Fred's treachery. Fred left, and we were tasked with restarting the machine, getting to the monitor, keying in the hex code of the cassette loader, and reloading BASIC from cassette. Got it to work on our second try!
> — [whartung on hackernews](https://news.ycombinator.com/item?id=49870255)

> Here are 3 lines that capture something profound about Lisp: code can manufacture code that manufactures code: ——————— (defmacro twice (form)   `(progn ,form ,form)) (twice (print "Reality")) ——————— twice doesn’t execute its argument twice. It rewrites the program itself before execution into: (progn     (print "Reality")      (print "Reality"))
> — [andsoitis on hackernews](https://news.ycombinator.com/item?id=49868584)

> It's actually a B thing https://news.ycombinator.com/item?id=27048024
> — [gabrielsroka on hackernews · 2 comments](https://news.ycombinator.com/item?id=49868974)

**Source threads**

- [hackernews](https://news.ycombinator.com/item?id=49866534) · 70 points · 56 comments
- [lobsters](https://lobste.rs/s/fpk9gq/ten_lines_code_changed_my_world) · 34 points · 9 comments

## Similar posts on daily.dev

- [Diving into Retro Computing with the Amstrad PCW 8256](https://daily.dev/posts/diving-into-retro-computing-with-the-amstrad-pcw-8256-yksnkio8j) · Scott Logic · 0 upvotes · 0 comments
- [Exploring Programming Languages](https://daily.dev/posts/exploring-programming-languages-1lqxkzogv) · Beam Bloggers Webring · 64 upvotes · 8 comments
- [Why I Am a Programmer](https://daily.dev/posts/why-i-am-a-programmer-kevxpoew0) · Hacker News · 0 upvotes · 0 comments
- [10 Coding Shortcuts That Save Me Hours Every Week](https://daily.dev/posts/10-coding-shortcuts-that-save-me-hours-every-week-b7wvtyszi) · Medium · 1 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#css](https://daily.dev/tags/css), [#assembly](https://daily.dev/tags/assembly)

[View this post on daily.dev](https://daily.dev/posts/ten-lines-of-code-that-changed-my-world-pixelambacht-hustfjyxe)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Ten Lines Of Code That Changed My World – Pixelambacht","url":"https://daily.dev/posts/ten-lines-of-code-that-changed-my-world-pixelambacht-hustfjyxe","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ten-lines-of-code-that-changed-my-world-pixelambacht-hustfjyxe"},"datePublished":"2026-09-27T17:48:00.997Z","dateModified":"2026-09-28T00:36:21.033Z","description":"A personal, nostalgic collection of ten memorable code snippets spanning a programmer's career, including the classic 'Hello World', JavaScript's infamous...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d32270b477d836e4a0e7ad6d87201496?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d32270b477d836e4a0e7ad6d87201496?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ten-lines-of-code-that-changed-my-world-pixelambacht-hustfjyxe","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,css,assembly","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"Ten Lines Of Code That Changed My World – Pixelambacht"}]}
```

