[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1702956373846422.jpg (202 KB, 1218x2048)
202 KB
202 KB JPG
Why do software bugs happen anyway? Just program very carefully?
>>
>>101576048
Either too many cooks, or too many abstraction layers, usually.
>>
>>101576048
smooth brains
>>
File: 1721968974662.jpg (261 KB, 1536x2048)
261 KB
261 KB JPG
>>101576071
This is a dutch cartoon website thoughstve
>>
>>101576048
You made this thread just to flood the catalog with your tranime shit didn't you
>>
File: 1720822438076230.jpg (122 KB, 960x960)
122 KB
122 KB JPG
>>101576065
I 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.
>>
>>101576263
this
>>
File: 90804.png (208 KB, 384x424)
208 KB
208 KB PNG
They happen because we didn't listen to Dijkstra.
https://www.cs.utexas.edu/~EWD/transcriptions/EWD05xx/EWD540.html
>>
Bocchi the Win98
Nijika the WinXP
Ryo the Win7
Kita the Win10
>>
>>101576211
Sounds pretty cool. Using your own code tends to be fine, assuming you have at least some idea of what you're doing.
>>
>>101576487
Post your code, avatarfag.
>>
>>101576687
why dont you go first, brainlet?
>>
>>101576048
There 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.
>>
>>101577216
It's because we have these retarded things called "sprints".
>>
>>101576048
People forget edge cases.
>>
>>101576211
That'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.
>>
>>101577676
As 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.
>>
>>101577685
I 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
>>
>>101576549
My wife
>>
>>101576048
Bocchi the G
>>
>>101576048
Bocchi the H
>>
>>101582172
itler



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.