DEV Community


Discussion on: What is the hardest thing about learning to code?

solkimicreb profile image
Miklos Bertalan

I struggle the most with seeing edge cases ahead and making compromises.

Learning a language is a piece of cake, learning how to express something without a single tiny unspecified hole is a different story.

If you really code for all edge cases you likely got into situations where nothing fits perfectly. I used to either think about the mythical perfect third solution for days or silently ignore the edge case. It is hard to weigh the cons and pros, make a reasonable and quick compromise, and feel good about it later.