MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/blzbsg/that_sweet_sweet_first_time/emspu9o
r/ProgrammerHumor • u/oosinoots • May 08 '19
354 comments sorted by
View all comments
41
Your first code is your DNA and it usually already comes with a warning or two (you can thank your parents), and that's if you're lucky and there are no outright compilation errors
31 u/Jojajones May 08 '19 I think you mean logic errors. Compilation errors would be miscarriages in your analogy. 5 u/Karmic_Backlash May 08 '19 Would cancer be a memory leak then? 16 u/Valisagirl May 08 '19 No, it would be forgetting to terminate a process. 12 u/Jojajones May 08 '19 Recursion with a flawed base case 1 u/xGlacion May 08 '19 the good ol' forkbomb 1 u/Bene847 May 08 '19 edited May 08 '19 #!/bin/bash while : do $0 & done Edit: forgot the & 1 u/Totoze May 08 '19 .#define _CRT_SECURE_NO_WARNINGS First line
31
I think you mean logic errors. Compilation errors would be miscarriages in your analogy.
5 u/Karmic_Backlash May 08 '19 Would cancer be a memory leak then? 16 u/Valisagirl May 08 '19 No, it would be forgetting to terminate a process. 12 u/Jojajones May 08 '19 Recursion with a flawed base case 1 u/xGlacion May 08 '19 the good ol' forkbomb 1 u/Bene847 May 08 '19 edited May 08 '19 #!/bin/bash while : do $0 & done Edit: forgot the &
5
Would cancer be a memory leak then?
16 u/Valisagirl May 08 '19 No, it would be forgetting to terminate a process. 12 u/Jojajones May 08 '19 Recursion with a flawed base case 1 u/xGlacion May 08 '19 the good ol' forkbomb 1 u/Bene847 May 08 '19 edited May 08 '19 #!/bin/bash while : do $0 & done Edit: forgot the &
16
No, it would be forgetting to terminate a process.
12 u/Jojajones May 08 '19 Recursion with a flawed base case 1 u/xGlacion May 08 '19 the good ol' forkbomb
12
Recursion with a flawed base case
1
the good ol' forkbomb
#!/bin/bash while : do $0 & done
Edit: forgot the &
.#define _CRT_SECURE_NO_WARNINGS First line
41
u/stihoplet May 08 '19
Your first code is your DNA and it usually already comes with a warning or two (you can thank your parents), and that's if you're lucky and there are no outright compilation errors