
techindustanSolution
90078
1504
33
me irl

Programmer: My code doesn’t always work, but when it does... I don’t know why.
Jun 7, 2019 11:26 AM
techindustanSolution
90078
1504
33
Programmer: My code doesn’t always work, but when it does... I don’t know why.
manslut
Why's he just sitting there? Can't he do something else productive while it compiles? /bittermolecularbiologist
MrGrumpy5000
What about the TESTS???
nobodylikesmyname
how long does it take to compile a program?
TrollingKingFish
Compiling is similar to Lotto Tickets. A lot of wishing followed by disappointment, losing time/money, then foolishly rinse n repeat.
Wrest216
99 bugs in the code of the lines, 99 bugs in the code, fix em all, compile it again, 108 bug of code in the lines!
NiceRepostPlus1
...Segmentation Fault
ubergnu
"If it compiles, ship it." is my motto.
charliem
I never struggle with compile times.
geoffles
Demotros
Why doesn’t this work? This shouldn’t work. Why did that work?
SudoCatEtcIssue
F5 -> Runtime error: Can't write to 0x7FFFFFFF
temujin9
That's why you don't watch it build.
aThingWithTheStufAndTheJunk
thepicklebucket
If it works and you don't know why...you're not a programmer
chalkydude
Agreed.
Beardedgeek72
But are you a software developer?
wyatt8740
I'm sure you've never ever used an abstracting library, then. Or used C standard I/O instead of writing your own I/O.
thepicklebucket
I am a prog rammer. I ram progs.
bigguywhokills
Eleshar24
VBE?
bigguywhokills
I never touch the stuff.
ObliqueRay
Use an interpreted language.
birthdaybaboon
or precompiled hears.galaxybrain.jpg
birthdaybaboon
headers, even
thatiswhyyoushoulddoityourself
I thought virgin blood was what kept the code running.
MonsoonGibby
The two states of programming; 1) it doesn't work and I don't know why 2) it works and I don't know why.
AgamemnonsMemes
Compiling time is nap time.
dschuma
Oh... Microsoft changed something and my program now immediately breaks on run with an overly generic error... Yay.
cbale2000
I still remember the days when compiling took hours instead of seconds.
wyatt8740
Build chromium/a mozilla product on a laptop; still does.
wyatt8740
*On a non-gaming laptop at least.
Lynkfox
//don't know what this does but removing it breaks everything. Not sure how it works either. DO NOT TOUCH
GabrielRRL
Puts code on file A, call on file B: Works. Moves code to file B for clarity: Entire code breaks, thunderclaps and eartquakes. Death is here
koobazaur
for me a lot of //this seemed like a good idea but apparently breaks the game, don't uncomment
Gamergrl09
Line number based programming seems horrifying
wyatt8740
20 goto 10
ShouldersDeepInAHorse
Print: "My friend dan is gaaaaay"
broadstroke
As someone who has a modicum of assembly experience it is fine if you want to do something simple. But anything complicated? F that.
ShouldersDeepInAHorse
It's like, I accidentally glued a hammer to the table leg, but you can't take it off without pulling the leg off as well, ruining the table.
TootersMcgooters
squelcheswetly
...In production.
NyanDroid
On Thursday/Friday
Zegot
what is compiling? running the code?
ThatRandomCanadian
Making it so the code can be run and checking syntax errors. IIRC.
wyatt8740
Close, It's translation of code from human readable format to a computer runnable one. "Syntax check" only if the compiler can't understand
RandomActOfConfusion
Computers run on binary called opcodes. This is processor specific and hard to deal with so higher level languages like C exist. A compiler
RandomActOfConfusion
Takes your code and among other things, converts it into instructions that your processor can actually understand
happycampy
I think this answer might be too complex for someone who has to ask what compiling is XD. try "converts code into computer instructions"
Zegot
doesn't that happen automatically when you run the code?
happycampy
You have to compile before you can run it. Unless its an interpretated language
canofyamm
I fix one bug and then... well you know when you step on a pregnant spider? Yeah I get a million baby spiders, what's a bug again?
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH
Ok, can I just vent for a second? I was working on a code in Matlab recently and couldn’t figure out why I was getting the wrong numbers.1/2
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH
It turns out that an “i” which was supposed to be an imaginary number identifier was being treated as a variable. 2/2
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH
How tf am I supposed to identify that as the issue
ShutTheFrontDoors
From a programmer: compiling is the easy part. Now comes testing. Good luck.
JohnnyTroutman
Our application will be tested next week, I found so many errors building the app..
ticktockbent
*sends app to QA without testing it*
ExecutorHideo
Just because it compiles doesnt mean it works. Similar to writing an essay. Just because its grammatically correct doesnt mean its any good.
CodeChimpin
I get scared when my first attempt compiles with no errors. Means the problem(s) are more hidden.
bangersandmash
YeahBu0y
Pshh that's easy too. Just think about all the problem your application could have ahead of time, put them in a table, fill in the methods 1
YeahBu0y
You will use to test against them, meticulously go down the list and perform said methodology several times, tada, your app is still buggy
pdp1
I've been a programmer for over 20 years. I spend the majority of my time debugging, not actually programming (or testing, hahahaha)
xtreampb
let me hit you with that runtime error:
malaysian
And static code analysis
boatymcboatfaceplant
Survive that, and documentation will take most of your will to live. QA then take what's left
wuzz
wht about optimizing and refactoring the whole thing?
FancyPartyGirl
Bethesda: "What's that now?"
ShutTheFrontDoors
That too.
bangersandmash
HakoonaMatata
Ain't nobody got time for that...with all these deadlines
DanceKing12
And no budget...
BenSnow97
Because everyone is working on the problems that come from unoptimized code in dire need of refactoring
HakoonaMatata
No argument there. Getting business side to understand that is such a friggin battle
Cenodoxus
Bethesda in a nutshell.
cheeseguy3412
I have made a multimillion dollar aircraft training system yell "PENIS" repeatedly while hard locked. It only happened once, then worked ok.
cheeseguy3412
The system was set to afterburner volume, so that shit ECHOED.
SuperPickle17
Bethesda: What is this "testing"?
Dragondraikk
EA: How about you pay us to be allowed to do the testing?
WeylandYutaniCorp
IMO, Bethesda is what happens when you insist on proper grammar but don't care about syntax. Then you publish but don't proofread the story.
helgur
That's another word for "Modders will take care of it" -right?
Beezlebubble
I took some classes in college as a game designer. I would create code and confuse my professor because it would work, be shorter than he
Beezlebubble
Had expected the actual "answer" to be and we both knew i had no clue what inwas doing 99% of the time. But hey it always worked
MissAizea
Beezlebubble
I was a designer and I just worked from my notes in class. But I understand numbers really well.
MissAizea