DEV Community

Shailen Naidoo
Shailen Naidoo

Posted on

There is always an edge case (to life)

If something at face value appears to have only happy cases then the developer does not have the scope to understand what are the edge cases or they might simply be blinded by the implementation of whatever said thing is.

I believe that developers spend too much time or emphasis on the happy case of something, instead, they should work on flipping that mental model around and spend more time trying to identify what the edge cases are and account for those instead because in my experience, the more control flow statements introduced into a piece of software the higher the number of edge cases there will be.

This same model of approaching software design can be applied to just about anything in life, there is always an edge case to something and if you cannot see it now then it will eventually appear later down the line. One's capacity to identify edge cases comes with experience.

It is a bit negative to walk in the world and see the negatives of everything in this life but it is up to you to utilize it as a tool at the end of the day.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay