# Smart Developers Make Maps When Code Is a Maze

Original title: When code is a maze, smart developers make maps

> Hacker News story 49693690 · language: en · submitted 2026-09-14
> Web version: https://zeli.app/story/49693690
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 39 · by [boxesnlines](<https://news.ycombinator.com/user?id=boxesnlines>) · 💬 48
[original](<https://medium.com/@simonsmartiom/when-code-is-a-maze-smart-developers-make-maps-fbc452a48c1b>) · [HN discussion](<https://news.ycombinator.com/item?id=49693690>)

## Summary

Modern decoupled code, like ravioli code, makes it hard to understand how pieces fit together, turning codebases into labyrinths. Developers often waste hours exploring without leaving signposts. The article argues that comments and documentation are essential maps, offering practical suggestions for both to reduce future navigation time.

## Key quote

> In most cases, we spend much more time trying to understand the code than we ever do making changes to it.

## HN discussion (48 comments)

### [tromp](<https://news.ycombinator.com/item?id=49708686>)

> When code is a maze     describes my 1988 IOCCC entry [1]
>
> char*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C);
>
> --            E;             J[              E]             =T
>
> [E   ]=  E)   printf("._");  for(;(A-=Z=!Z)  ||  (printf("\n|"
>
> )    ,   A    =              39              ,C             --
>
> )    ;   Z    ||    printf   (M   ))M[Z]=Z[A-(E   =A[J-Z])&&!C
>
> &    A   ==             T[                                  A]
>
> |6<<27<rand()||!C&!Z?J[T[E]=T[A]]=E,J[T[A]=A-Z]=A,"_.":" |"];}
>
> [1] https://tromp.github.io/pearls.html#maze

### [jorisw](<https://news.ycombinator.com/item?id=49708605>)

> Smart developers don’t write mazes.
>
> \> In code, comments are our signposts
>
> No. Naming and good architecture are. Intuitive folder trees. Concise docs. Clear separation of concerns such that naming can suffice.
>
> The more comments you need to ‘map’ your code, the worse of a job you’ve done.

### [jarofgreen](<https://news.ycombinator.com/item?id=49708416>)

> \> Typically keep comments on a single line without line breaks — if a comment is useful, developers will scroll to read them, if it’s not they can easily scroll past it.
>
> Disagree. Personally that sounds like a massive barrier to reading the comment to me. Limited width column text is generally regarded as easier to read, make your comments easier to read. Especially as I probably have the code open in a limited width window, as that's what I expect from code.

### [lintfordpickle](<https://news.ycombinator.com/item?id=49709095>)

> I disagree with the overall sentiment of this article. I wouldn't say comments are never useful, because they certainly can be. But once verbose commenting becomes the norm, people (and now especially LLMs) will overuse them, making the code unnecessarily obtuse and difficult to read. And the point about maintenance is real.
>
> There are also a couple of 'pointless' statements in the article itself:
>
> \> "Use a combination of in-line and standalone comments, depending on the situation"
>
> isn't that just every kind of comment?

### [jdw64](<https://news.ycombinator.com/item?id=49708753>)

> Sounds good. I've lost count of how many mazes I've made. Just call me the Architect of the Labyrinth.

---

## Cite

- Page: https://zeli.app/story/49693690
- Date: 2026-09-14
- Source: medium.com (https://medium.com/@simonsmartiom/when-code-is-a-maze-smart-developers-make-maps-fbc452a48c1b)
- Hacker News: https://news.ycombinator.com/item?id=49693690

## Other languages

- zh: https://zeli.app/zh/story/49693690 · markdown: https://zeli.app/zh/story/49693690.md
- ja: https://zeli.app/ja/story/49693690 · markdown: https://zeli.app/ja/story/49693690.md
- ko: https://zeli.app/ko/story/49693690 · markdown: https://zeli.app/ko/story/49693690.md
- de: https://zeli.app/de/story/49693690 · markdown: https://zeli.app/de/story/49693690.md
- es: https://zeli.app/es/story/49693690 · markdown: https://zeli.app/es/story/49693690.md
- ru: https://zeli.app/ru/story/49693690 · markdown: https://zeli.app/ru/story/49693690.md
