Why do software bugs happen anyway? Just program very carefully?
>>101576048Either too many cooks, or too many abstraction layers, usually.
>>101576048smooth brains
>>101576071This is a dutch cartoon website thoughstve
>>101576048You made this thread just to flood the catalog with your tranime shit didn't you
>>101576065I write my own abstraction layers. I'll first write the header files, and slap together a tiny program to hammer my implementation with thousands of randomized inputs and function calls, and I try to see if it breaks. If it holds up, I integrate the header file onto my bigger project. I test each compotent of my projects rigorously, and abstract away the tiniest repetitions. As a result, my C programs look a lot like some python programs. Fast as fuck, and homebrewed though. No bugs.
Froganon please fix your spambot.
>>101576263this
They happen because we didn't listen to Dijkstra.https://www.cs.utexas.edu/~EWD/transcriptions/EWD05xx/EWD540.html
Bocchi the Win98Nijika the WinXPRyo the Win7Kita the Win10
>>101576211Sounds pretty cool. Using your own code tends to be fine, assuming you have at least some idea of what you're doing.
>>101576487Post your code, avatarfag.
>>101576687why dont you go first, brainlet?
>>101576048There is some truth in your post. Unit tests, code reviews, static analysis etc. are all nice but your first line of defense as a programmer is to just implement it carefully in the first place. One reason why it doesn't often work is that people just don't care. Most guys at the company care more about the paycheck or the ping pong table than the code.
>>101577216It's because we have these retarded things called "sprints".
>>101576048People forget edge cases.
>>101576211That's great, when you have a deadline of a week to get x feature in for a client and your manager is an alcoholic let me know how writing your code like this turns out.
>>101577676As software gets more complex it becomes harder to even think of every edge case, you just aren't going to do it when you're working on multi-million line bases.
>>101577685I agree that it's not really feasible in a time and budget constricted environment. Agileslop really needs to die. I'm a university student, so I still have the luxury of programming as a hobby. I'm trying to enjoy it while it lasts.
>>101576549(You) the faggot
>>101576549My wife
>>101576048Bocchi the G
>>101576048Bocchi the H
>>101582172itler