Ask coding questions

← Back to all posts
β–²
13
What line of code describes you best? πŸ€”
katyadee (813)

Okay, I lifted this from Quora, but I thought it was a really cool question with lots of ways to interpret it! What line of code describes y'all best?

Commentshotnewtop
β–²
8
mat1 (2242)
time.sleep(86400)
β–²
4
ebest (407)
class Eric(Exception):
    pass
print("Eric has been born.")
raise Eric("has died.")

Eric is the writer's real name. That code has been tested and proved by Eric.

-Ebest

β–²
4
vedprad1 (435)
function main() {
  var x = 0;
}
main();
console.log(x); // Error: x is undefined

You can interpret this two ways:
1. I constantly forget about scope.
2. I think I know who I am, but then I realize I do not. (I'm undefined.)

Everyone says: "Woah!"

β–²
0
s206984 (1)

@vedprad1 That's deeper than my English teacher can analyze a novel

β–²
0
s206984 (1)

@Helixable My english teacher has powers beyond unknown to analyze novel

β–²
4
ash15khng (209)
#include <iostream>

#define yeet int
#define Yeet main
#define yEet std
#define yeEt cout
#define yeeT return
#define Yeeet (
#define yeeeT )
#define Yeeeet {
#define yeeeeT }
#define yyeet <<
#define yet 0
#define yeett "Yeet!"
#define yeetT ;
#define yEEt ::

yeet Yeet Yeeet yeeeT Yeeeet
    yEet yEEt yeEt yyeet yeett yeetT
    yeeT yet yeetT
yeeeeT

(I copied this sorry lol)
Basically what it does is just print "Yeet!". That's it.

β–²
4
ebest (407)

@ash15khng THE POWER OF THE YEET
yeeT yeEt yEet Yeet yeet YEEt
yeet Yeet...

β–²
3
GavHern (62)

plain and simple:

pass

β–²
3
mwilki7 (111)
I HAS A CHEEZEBURGER
VISIBLE "CAN I HAZ CHEEZBURGER?"
GIMMEH CHEEZEBURGER

BOTH SAEM CHEEZEBURGER AN "YEZ", 
O RLY?
    YA RLY
        HAPY
    NO WAI
        SAD
    OIC
KTHXBYE
β–²
1
vedprad1 (435)

@mwilki7 : What programming language is that?

β–²
1
mwilki7 (111)

@vedprad1
https://repl.it/@mwilki7/testlol
It’s an actual language called LOLCODE πŸ˜‚

β–²
2
Deacon_Cronin (41)
while True:
 print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
 if random.randint(0,10) == 1:
   die()

This represents the fact that I screech constantly and at some point will randomly drop dead

β–²
1
Deadly_Venom (0)

print('why isn't my code working')
time.sleep(random.randint(86400,259200))
print('wait why does my code work?')

β–²
1
β–²
1
EduFaus (8)

Imtolazyrowritecodesoimakefunctions(true)

β–²
1
β–²
0
Giothecoder (0)

Words cannot define the happiness this thread gives me.

β–²
1
CPPStudent7308 (8)

std::cout << "Insert soul here:";
std::cin >> soul;
std::cout << "Sorry, the operation 'Insert Soul' is not responding";

β–²
1
eankeen (528)
() => 'Edwin Kofler'
β–²
2
β–²
1
β–²
1
mkhoi (178)
age = 0
deathAge = int(input("Enter the age when you will die: "))

for year in range(0,deathAge):
    live()
    age += 1
    time.sleep(1)

if age == deathAge:
    die()
β–²
1
malvoliothegood (83)
printf("hello, world\n");
β–²
1
RoylatGnail (72)

#include "studio.h"
int main(){
}

β–²
1
lsambrook (284)
body{
  color: Black, white, pink, green, purple, blue, red, yellow;
}

Text in html :

<div class="body">
I Love rainbow coulours
</div>
β–²
1
ReshiramWolfu (60)
While True:
print(" *Screams in OC, Dragons anime,roleplaying,and shipping* ")
time.sleep(0.0001)