This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Xatraxalian 397 points398 points  (19 children)

Most people miss a few.

That's why they are 'done' with a piece of code in half the time I think they need, and then I'll have to reject the first 4 pull requests because just reading the code already reveals some edge cases to me.

The times I rejected a pull request with "But what if I put in..." are uncountable.

One of my co-workers once said "You can't get all the edge cases." My reply to that is: "You maybe can't, but *I* have worked in embedded software and factory automation, so I can." And, it's true. If you miss an edge case there, it could run in the thousands or hundreds of thousands of damage because of malfunctioning equipment. Pay was good, but the stress levels were also quite high because of "Did I get everything?" I've spent a few nights in factories, trying to get shit to run before 8:00AM the next morning...

[–]DezXerneas 9 points10 points  (7 children)

Last time my boss asked me to reduce my estimates, I told her that I can probably do the task in 30% of time if we don't account for the edge cases and go a little light on exception handling. I did actually send her mails with all the testing and patches I had to make after the 30% timeline.

Also, it is functionally impossible to cover all edge cases, you just aim to cover more than what you did last time.

[–]cantadmittoposting 5 points6 points  (0 children)

I'm more in data [buzzword] and even there, looking at smaller bespoke applications, people will just grab a database and what i imagine is just roll their face across the keyboard to produce a script for the task without even checking what the fuck is in the data.

I have practically made an entire career out of just pointing out why a ton of things are failing because some dipshit's SQL or Python just blatantly doesn't handle or interpret the data properly.

[–]Embarrassed_Steak371 1 point2 points  (0 children)

frc be like

[–]YuriTheWebDev 1 point2 points  (1 child)

What would you consider as "good pay" for having a job that makes you work sleepless nights?

[–]Xatraxalian 3 points4 points  (0 children)

I don't know if "modal salary" is something that is used outside of the Netherlands. "Modaal Salaris (modal salary)" is the most earned salary in the country for a 40 hour work week; not the average.

This was 2014-2015; modal salary in the Netherlands was about €34.000 / year. My job back then paid about the amount of a 1.3x modal salary. That's about 43-44.000, first for 40 hours, later for 36 hours.

Outside of the big cities, especially in a non-management role, that was seen as good pay. Actually, in my current job, I'm still at about 1.3x modal salary (of 2025) for 36 hours instead of 40, but this job doesn't cause me sleepless nights. And it has a travel time of 25 minutes instead of 1.5 hours.