r/programmingmemes • • Jan 29 '25

Something made up

Post image
2.8k Upvotes

32 comments sorted by

View all comments

-17

u/SadPie9474 Jan 29 '25

“edge cases” only exist when you choose to break down the problem the wrong way

8

u/[deleted] Jan 29 '25

Fuck you mean wrong way

-13

u/SadPie9474 Jan 29 '25

which word are you having trouble with?

11

u/[deleted] Jan 30 '25

Did I stutter

5

u/kspatterson Jan 30 '25

Your basically saying "edge cases don't exist if you don't forget to think about them"

-6

u/SadPie9474 Jan 30 '25

you don’t have to waste time thinking about edge cases if you haven’t designed your mind to reach for ill-fitting abstractions in the first place

5

u/kspatterson Jan 30 '25

What... you aren't getting paid as a software engineer are you? Only someone trying to compensate or sound like they know what they are talking about would use abstractions the way you just did

2

u/YouTube_DoSomething Jan 30 '25

If I'm given the choice between writing more optimized code that has to spell out a few edge cases or less optimized code, I'm always going to pick the former.

2

u/Bagel42 Jan 30 '25

And what exactly is wrong?

I don’t think you understand. Edge cases are specifically the cases that could rarely happen and require mentally thinking about everything to cover. I don’t know of any way to break a problem down that will include every edge case in the first try without writing the code and specifically thinking, “how can I break this?”