Describe your life using code

Describe your life using code

int age = 0;
bool hasGF = false;
Genes genes = Genes.Bad;
while(++age

Attached: 1547370314149.jpg (480x480, 30K)

while(!homework.done())
homework.do();
masturbate();

so you do 1 homework, masturbate and die?
pretty cool

bool is_op_a_fag()
{
return true;
}

if(OP == faggot){
/thread
}

No, homework is a queue that never depletes. Can't even masturbate.

too slow faggot

bool hasGF = false
bool hasBF = true

return false;

literally me

>much genes
Incels sound exactly like fatasses.
The two demographics might overlap a lot, actually.

while me == alive:
if rich == false:
rich = true

>using the reddit term "incel"
Time to put a new word in my filter

{
while (me)
{
return 0;
}
}

bool Happy(){
return false;
}

this thread is the worst I've seen in years.

function amIthereyet(){
amIthereyet();
}
amIthereyet();

sudo rm -rf *

if(female){
return happy;
}else{
return lonelyAndSad;
}

stop using braces for single column if-blocks you damn code monkey

Attached: 1505546465188.jpg (513x307, 41K)

does the stack overflow represent suicide?

if(failure==true)
return me;

that's something a code monkey would say

t. retard

t. pajeet

line 24 is missing a semicolon

So using braces for single row if blocks is desirable? Why? Is it readability?

while(true){
SpendInEternalHellAndTorture();
}

Attached: 1518770698675.jpg (400x400, 14K)

life = shitpost : life
-- or just
cycle [shitpost]

life :: Maybe a
life = Nothing

>autism

I also use braces even if there's only one statement inside the statement.
> it looks nicer
> if I ever want to add more code inside the statement, I won't forget the curly braces and cause an error
> it eliminates ambiguity when a human reads the code
if (expression)
if (expression2)
// do something
else
// do something else

Does the else belong to the inner if-statement or the outer one?
This is ambiguous, so most compilers associate the else with the inner-most nested-if statement, either by making the grammar unambiguous or by enforcing specific actions when parsing.

In any case, using curly braces in this example will eliminate ambiguity when a human reads this code, not the compiler.
if (expression) {
if (expression2) {
// do something
} else {
// do something else
}
}

is much more readable, imo.

Readability

the way you express yourself shows that you have no clue what you are doing
you were the code monkey all along

Why would you put ifs inside single-line if?
There is nothing wrong with not using brackets, just do not use it for complex statements.

if (cond) a = b;

if (cond) return a;

if (cond) a = b;
else throw c;

There is nothing unambiguous nor ugly about the code above.

while(True):
if(user.atHome):
user.shitpost("Jow Forums.org")
if(user.inClass):
user.dontPayAttention()
if(user.meetCuteGirl()):
user.actAutistic
user.askOut(girl)
if(girl.wantsToGoOut):
user.wakeUpFromDream()
else:
user.cry()
if(user.horny):
user.fapThenCry()

That code unironically looks like something a code monkey punjab would write, tbhfam.

it's all about preference/consistency
only code monkeys discuss that

int t[4] = {1, 3, 3, 7};
int x = 1;
t[x++] = t[x++];

Attached: Indeterminism.jpg (400x300, 15K)

GCC and Linux were written by pajeets then.

bool life;
life = "depression";

>Describe your life using code
int main()
{
return EXIT_FAILURE;
}

if (expr) {
if (expr2)
;
else
;
}

#!/usr/bin/env python3
# -*- encoding: utf8 -*-
import atexit

def die():
print('the end.')
atexit.register(die)

def start():
fail()

def fail():
tryAgain()

def tryAgain():
fail()

start()

~> ./life.py
(...)
File "./life.py", line 8, in fail
tryAgain()
File "./life.py", line 11, in tryAgain
fail()
File "./life.py", line 8, in fail
tryAgain()
File "./life.py", line 11, in tryAgain
fail()
File "./life.py", line 8, in fail
tryAgain()
File "./life.py", line 11, in tryAgain
fail()
RecursionError: maximum recursion depth exceeded
the end.

the most depressing code I've ever written

Attached: suicidepepe.jpg (184x184, 7K)

Ltac discriminates :=
match goal with
| [ H : ?x ?x |- _ ] => elim H; reflexivity
| _ => discriminates
end.

#!/usr/bin/expect -f

while {$mom_is_alive} {
spawn ./dayStart
expect "suicidal thoughts\r"
send "ignore\r"
}

expect "suicide"

isekai();

ok mr. "I don't like readability"

my_life.rb:3:in `': undefined method `find_happiness' for # (NoMethodError)

My life is far too rich to be described here, but while I'm on Jow Forums, it boils down to:
10 PRINT "INCELS LOL"
20 GOTO 10

tafpbp

int num;
for (num = 0; num

def continue(me: Person): Legacy = me match {
case i if i.status == Dead => i.sum
case i => continue(nextDay(i))
}

while(1)
{
Happy--;
}

>Have gf
>Live happily
Ahh the dreams of a naive young user

while(alive) {
hope = true;
if(!success) {
try++;
}
}

while(alive) {
suffer();
}

How do I type in fixed width font?

you select a fixed width font and type

Not OP but why? Having a gf is all I want.

while true do end

When I was your age, all I wanted was a pet elephant and a time machine. Only when I grew up did I realise the drawbacks of having those things.

Why is this deleted?

>his life is written in Java
ur fucked user

because he is a retard and didn't escape the code block.

Nigger.

>oh fuck my life is a series of nested if statements.

Really Jow Forums considering the mockery I see you make of females code quite often in those threads you're awful at this.
OP alone has some very odd conclusions about life if those aren't logical errors
>can't work/study and live happily with gf
>can't live happily if dies immediately on the first iteration
>actually starts loop at age 1

how are you this autistic

user if you saw someone write gibberish math like
x*2=1
x=2
Do you not think it's worth commenting on? This code is at the level of addition and multiplication in math.

It's excusable if there were effort put into it. If he made it constexpr it'd have a point about him having a static world view. Slightly clever. This is just the lowest possible example.
And the whole thread is full of this shit.

As this stands this doesn't even qualify as attempts at humor. It's just a thread full of people expressing themselves more poorly than they could in English. All complaining about their problems.

What the hell are you talking about user.

They are being too dumb and I have to point it out.
They are not being funny.
They are not trying hard enough for me to ignore their problems.
The purpose of this thread is clear to me and they are not doing a good job.

That's the simple English version of my post. I will ignore you now.

Tell me which post had that "gibberish math" you dumb autist.

I wasn't complaining about gibberish math. I was complaining about op and the rest of the thread being shit programmers.
It was an analogy. I was half joking when I wrote the simple English version but it seems it was actually necessary.
>doesn't understand analogy
>claims others are autistic
Extemely ironic.

Everytime I wake up I'm always thankful I'm not an autistic retard like this faggot.

Attached: smug wojak.png (724x611, 129K)

Maybe because you talk like a mentally challenged manchild who can't speak proper English?

wrong. you code monkey.
braces are preferred even for single rows.
back to pooping in the streets for you, mr monkey man.

you are a basic bitch.

4chans first commit

Dude, based on how you write, you're either 12 years old, autistic, or english isn't your first language. Either way you're embarrassing.

>butthurt inept codemonkeys respond with image macros and personal attacks
It's to be expected.

while(alive)
{
self->eat();
self->existential_crisis();
self->bury_in_work();
self->sleep(8h);
}


the ride never ends.

who are you quoting?

Actual autism, everybody.

Attached: umadbro.jpg (1280x720, 60K)

>If you have a girlfriend, is below the age of 66 and above the age of 18, you can never live happily
Fucking brainlet

kys nigger /v/tard
i bet you use ide like a complete gorilla nigger

Not OP, but tell me how you can be happy without a loving gf.

Read that post again

Oh okay, I read the first sentence as "If you don't have a girlfriend" for some reason.

Uhoh, looks like ur fucking moron. you've just been BEANED.
Hehe tag ur friends to totally BEAN them.

Ok but basically. ur retard. because his point is you have a gf and are above 18 but younger than 66, in the OP code you can't be happy. Because OP cannot program he is weak like a African refugee javascript programmer.

who hurt you my little autistic friend? did a black boy bully you at school? that's so sad :(

incels started calling themselves incel. Reddit had nothing to do with it.

#!/use/bin/env /bin/bash
while read line
do
run; lift; eat; work; vidya; sleep;
if [ -z happy] gf; kids;
done < life

Attached: c90bc3f0-8251-4e8c-a330-161fcd93d9e7.png (375x584, 352K)

Please tell me you're not a real person and you're just acting dumb.

Attached: 1547364330239.png (487x361, 68K)

.set VIRGIN 1

It's a "write a code that describes your life" thread, of course the codes aren't going to make perfect logical sense like your typical real life code. Programming isn't used to describe someone's life and these are all meant to be just a joke. You trying to take this seriously as if these were actual codes written to do actual work makes you looks stupid and autistic. I'm sorry, buddy.

>30 year old addicted to shota
Are you, by chance, a priest?