r/ProgrammerHumor • • May 29 '20

Meme Thats a lot of damage

Post image
30.2k Upvotes

451 comments sorted by

1.8k

u/[deleted] May 29 '20

Shouldn't it be the other way around? From char type to int type?

188

u/Daeli_Smile May 29 '20

Yeah, my mistake

6

u/already_satisfied May 29 '20

Was this staged? Or was someone asking you out and you made a joke out of it?

→ More replies (1)

808

u/oc7avian May 29 '20

Unless he meant charm type 😏

412

u/TheYaINN May 29 '20

System.exit(0) - Pun police

214

u/the_poope May 29 '20

std::terminate() dad jokes.

→ More replies (11)
→ More replies (2)

5

u/anananananana May 29 '20

Right, that would've been smooth

5

u/bocaj812 May 29 '20

There are some people who have charm, and some people who don't. guess which type i am.

→ More replies (2)
→ More replies (6)

68

u/[deleted] May 29 '20 edited Sep 17 '25

lock humor mountainous books party resolute shelter flag fly person

This post was mass deleted and anonymized with Redact

58

u/matthew_cx May 29 '20

They're also not quoted. So I think it should be a an undefined variable.

17

u/mfb- May 29 '20

Pretty sure they are defined. We just don't know their type and values.

→ More replies (3)

16

u/[deleted] May 29 '20

Depends on the implementation and the tokenizer

→ More replies (5)

45

u/adorak May 29 '20

I'm still not sure how to feel ... whenever I see a post, think something and to myself "I need to comment that" ... and someone else was faster ... do I feel "confirmed" and kinda like "yes mate, nice, exactly my thoughts" or do I think "fork you for being faster, these could be my upvotes" ... I guess "Internet points" of no real value can bring out the worst in people me ...

16

u/johandepohan May 29 '20

I too came to look if this had been noticed already. So far i've always felt nothing but validation when these things occur. But now that you've pointed out i'm missing out on "internet points" it feels unsettling. You sir/madam, have made my world a little bit darker from this day forth.

8

u/adorak May 29 '20

Always happy to share my inner darkness. Also my power allows me to give you 1 of those precious internet points. Cherish it.

→ More replies (1)
→ More replies (1)
→ More replies (3)

6

u/fss71 May 29 '20

Nope - in this context the int implies they’re just another number while being a character means something more significant.

19

u/[deleted] May 29 '20

Hope your compiler sees it that way.

0

u/[deleted] May 29 '20

[deleted]

→ More replies (1)

3

u/[deleted] May 29 '20

I mean, neither. It wouldn't look to implicitly convert in the first place. It would look for the '+' operator of a char taking another char

→ More replies (7)

29

u/chutiyamadarchod May 29 '20

you+me = you+me

32

u/Daeli_Smile May 29 '20

Its a C program

20

u/Ghyro May 29 '20

Then why are you and me defined in this scope?

17

u/jonny_wonny May 29 '20

chars are a single character. And it’s been a while since I’ve used C, but are you sure chars aren’t implicitly casted to int? Under the hood it’s just an 8 bit integer.

8

u/FileFighter May 29 '20

They are. I couldn't for the life of me figure out the randomly printed number in a char array, turns out I wrote %d instead of %c in that one specific condition.

→ More replies (2)
→ More replies (7)

2

u/maybelieveitsbutter May 29 '20

I like the flume remix

2.7k

u/[deleted] May 29 '20

Error: variable "you" not defined.

Error: variable "me" not defined.

986

u/Mareeck May 29 '20

This is the correct error answer

620

u/Goheeca May 29 '20

Not so fast:

* you+me

debugger invoked on a UNBOUND-VARIABLE in thread
#<THREAD "main thread" RUNNING {10005E85B3}>:
  The variable YOU+ME is unbound.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE   ] Retry using YOU+ME.
  1: [USE-VALUE  ] Use specified value.
  2: [STORE-VALUE] Set specified value and use it.
  3: [ABORT      ] Exit debugger, returning to top level.

(SB-INT:SIMPLE-EVAL-IN-LEXENV YOU+ME #<NULL-LEXENV>)
0] 

And after choosing the right restart:

0] 1

Type a form to be evaluated: 'love

LOVE
* 

easy peasy.

252

u/LordFarquadOnAQuad May 29 '20

You need to make custom error messages.

"You" da fuck is this?

"Me" da fuck is that?

91

u/pokelord13 May 29 '20
try:

    you+me

except:

    "wtf is that?"
→ More replies (1)

204

u/[deleted] May 29 '20

r/ProgrammerHumor is amazing. I often found silly jokes but the comment section often questioning if the joke is actualy making sense in programming stuff. And people seem to made effort to prove the joke. You guys are a unique community.

→ More replies (1)

6

u/[deleted] May 29 '20

Hey wait, in what language would '+' be able to be used in a variable name?

→ More replies (12)
→ More replies (2)
→ More replies (2)

182

u/anonymonoclonius May 29 '20

Error: Unable to find variable "you" in the local scope.

Trying to rephrase it to sound like they're inviting the other person over...

38

u/renyhp May 29 '20

Well that could even mean you want to completely ignore them lol

20

u/anonymonoclonius May 29 '20

Lol you're right! Even better!

25

u/[deleted] May 29 '20

I just wanna calculate you+me but unfortunately,

You're a global variable and I'm just defined locall-y.

mic drop

16

u/shootwhatsmyname May 29 '20

Oh hey dude you uh dropped your mic

→ More replies (1)

16

u/FredditTheFrog May 29 '20

Thank you, came looking for the correct error message

5

u/[deleted] May 29 '20

Damn you don't have to get philosophical af on me

→ More replies (5)

845

u/[deleted] May 29 '20

JS: youme

241

u/pimezone May 29 '20

ReferenceError: you is not defined

83

u/Aarivex May 29 '20

$ is not defined.

85

u/brunoha May 29 '20

ah sheit JQuery stopped working again...

→ More replies (13)

9

u/itsTyrion May 29 '20

Jazz music stops

8

u/[deleted] May 29 '20

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1)
DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

31

u/libertasmens May 29 '20

JS, Java, C#, Python, PHP... lots of string concat out there.

23

u/404_Identity May 29 '20 edited Jun 25 '20

[removed]

9

u/libertasmens May 29 '20

The one thing I liked about that was at least the stringconcat operator was explicit! No room for confusing an addition with a concat.

→ More replies (12)
→ More replies (2)

9

u/thiago2213 May 29 '20

No quotes, so undefined+undefined which is an error

→ More replies (1)

5

u/BobertCanada May 29 '20

Java allows string concat too, as well as many other languages like python

→ More replies (2)
→ More replies (8)

253

u/ur_opinion_is_trash May 29 '20

"youme"

132

u/bananajoe420 May 29 '20

laughs in python

51

u/[deleted] May 29 '20

you was not declared

me was not declared

→ More replies (2)
→ More replies (1)

433

u/bigfaturm0m May 29 '20

Shouldn't it be "can not implicitly convert string to int"?

107

u/Sageness May 29 '20

Variables you and me not declared

6

u/[deleted] May 29 '20

Strings and chars typically have quotes around them.

→ More replies (1)

9

u/NM_MAR_ANP May 29 '20

Plus "cannot", not "can not".

6

u/Zephirdd May 29 '20

English is not my first language

What's the difference?

→ More replies (19)

0

u/[deleted] May 29 '20

[deleted]

124

u/Ar010101 May 29 '20

C/C++ error code: y̴̰̲͌o̴͈̙̣͂̓͘u̸̱͉͕̘̍́͂ ̷̺͇͖̉̓h̴͔͐̒̑̊͝ͅa̶̫̟͚̓̆͛͊v̷͖̣̦͛͝é̴̛̬͔̉͑ ̶̞͛̾͗̆́s̴͉̥̗̻̀͊̒̀ỉ̶̟͔ͅͅṉ̴͇͓͙̰̓̿ń̸̮͍̣̬̏̓͘e̷̝͇̞͖͆̕ͅd̵̛̙͔́ ̷̻̹̠͓̲̀͐̚c̴̡͍̯̰͚͒́̇̇͝h̵̤͖̋͠i̴͆̾͆͜l̵͖̤͗̂͆d̶̬̍́͑̽͑,̴͉̰̑͌̾ ̷̧̳́e̴̦̼̫̒̒̍͐m̸̡̄̂̆͂̚b̵͎̜̳̽́͌r̶̫̹̲̭̲̂̿̎̂ä̴͇̤́̈́̉͠͝ͅc̴̖͆̂̏́ę̵̗͎̥͉̑̃͝ ̷̡̝̗͎̫̒̾ṯ̷͉̂̾̅̄h̴͙͚͔̺̲̅͠ȩ̴̡̼̥̀̏͑͌͜ ̴͖̥̟̺̠̇͘ṭ̷̈́͠a̴̩̝͇̓̓͐s̵̯̜͉̟͗̇̓t̶̳̯̋͒̾ë̴͚̹͈́͠ͅ ̸͇́̆̅ó̸̰̠̰̒͐́͘͜f̴͉̯̱̳͆̀̽̚ ̷̼̬̿̾d̵̛̻̝̮̞͂ë̵̡̤̥̝̳̅̓̓͘a̶͈͔͛̇t̶̜̝̯̙̣̀̑h̵͙̼̓

81

u/[deleted] May 29 '20

Segmentation fault (core dumped)

19

u/writtenbymyrobotarms May 29 '20

C does not scare you with complicated error messages.

42

u/Famous_Profile May 29 '20

Yea lol C just blows up and you get to guess how, why and where. C++ tells you everything one needs to know along with everything one does not need to know about the error.

→ More replies (13)

5

u/[deleted] May 29 '20

yeah, that's valgrind's job

"More than 100000 total errors detected. I'm not reporting any more."

→ More replies (1)

2

u/[deleted] May 29 '20

You joke, but I hear clang has accepted the zalgotext error patch.

→ More replies (1)

265

u/Xtrendence May 29 '20

if(you + me === "mammals") {
let like = Discovery.channel;
doIt(like);
}

51

u/brimston3- May 29 '20

I think you forgot this:

do {...} while (againNow);

13

u/ensignrad May 29 '20 edited May 29 '20

@@ -1,4 +1,15 @@

  • if(you + me === "mammals") {

  • let like = Discovery.channel;

  • doIt(like);

  • }

  • const doItAgainNow = ( youAndMe ) => {

  •   const youAndMeBabyAintNothingButMammals = youAndMe.every( animal => animal.class === "Mammal" );

  •   const theyDo = {

  •     "Discovery Channel": "graphic",

  •   }

  •   if ( youAndMeBabyAintNothingButMammals ) {

  •     let doIt = like( theyDo[ "Discovery Channel" ] );

  •     doItAgainNow( youAndMe );

  •   }

  • }

5

u/sumguy720 May 29 '20
public class Mammal {
    private String nickname;
    public Mammal(String nickname) {
        this.nickname = nickname;
    }
    public void doItLike(Channel channel) {
        channel.they.do();
    }
}

Mammal you = new Mammal("Baby");
Mammal me = new Mammal("Me");

Channel discoveryChannel = new Channel('discovery');

you.doItLike(discoveryChannel);
me.doItLike(discoveryChannel);
→ More replies (3)

20

u/listerstorm2009 May 29 '20

NameError: name 'you' is not defined

20

u/[deleted] May 29 '20

ftfy

"you" + "me"

Error: No operator overload for "+" has been defined for type string

or

you + me

Error: No variable of name "you" has been declared

Error: No variable of name "me" has been declared

Although to be honest most languages would return "youme" if you added strings.

12

u/Imoliet May 29 '20

The joke is "you're not my type", though.

4

u/[deleted] May 29 '20

I thought the joke was "i'm a programmer and hence take things anally literally"

18

u/UnluckyPenguin May 29 '20

I feel like everyone missed the message.

You are not my type.

Classic.

67

u/re_V01t May 29 '20

I like how his first question was 6 + 9.

64

u/LordFokas May 29 '20

"nice"
- JS

3

u/[deleted] May 29 '20

That should have also been the answer to the last question

→ More replies (2)

15

u/SpaceTransaction May 29 '20

I guess you and me are objects but what type?

8

u/EinJemand May 29 '20

Error: Trying to add incompatible types (Simp) and (Human)

21

u/MemelonCZ May 29 '20

Virgin 100

8

u/Ghyro May 29 '20

Shouldn't it just be youme, since adding strings is a legal operation?

18

u/Ghosttalker96 May 29 '20

But you and me are not necessarily strings here.

9

u/Ghyro May 29 '20

Then its just

"Error: you was not declared in this scope.

Error: me was not declared in this scope."

→ More replies (1)

6

u/[deleted] May 29 '20

I don't get it why is it int and char

→ More replies (1)

5

u/JackWhes May 29 '20

🎶 I know my calculus, It says you + me = us 🎶

4

u/ffwriter May 29 '20

Had to go way too far down for this. Thank you

→ More replies (1)

5

u/[deleted] May 29 '20

ASCII was a mistake.

5

u/UniqueUsername27A May 29 '20

Since when can you not implicitly convert int to char? Even if you enable the error for doing this via compiler flag, the error is a precision loss error.

3

u/Xarian0 May 29 '20

Going from 4 bytes (or 8 bytes or 2 bytes) to 1 byte is a narrowing conversion. Modern compilers are almost always set by default to flag implicit narrowing conversions as Errors, which is what the OP posted.

There's a little more to a narrowing conversion than simply a precision loss error, especially given that precision doesn't actually have a meaning when referring to integer types (which are all perfectly precise by definition). Narrowing conversions can potentially cause overflows and can commonly cause infinite loops.

Implicit narrowing conversions are almost always unintentional, which is why they are flagged as Errors.

Or did you mean "since when can you not implicitly convert char to int?"?

5

u/maybelieveitsbutter May 29 '20

Shouldn’t have started with 6+9. That comes after you+me if successful

2

u/lzyscrntn May 29 '20

I love this thread. You guys are my kind of people

4

u/kutsen39 May 29 '20

Well she didn't say no

4

u/sxeli May 29 '20

Error: Operator + is not supported for the operands [you, me]

4

u/Ravens_Quote May 29 '20

"BUT THAT'S NOT ALL!

To show you the power of FlexSeal antivirus, we sawed this digital relationship IN HALF!"

Plot twist, bottom message in OP is actually from Phil Swift

"Now watch as we use the power of FlexSeal AV to turn this long-distance breakup into the world's first human love boat!"

Clicks "Repair connection" button. Cut to Phil paddling along in a lake on top of two lovebirds 69'in it so hard they're waterproof in-between

1

u/jdwpt May 29 '20

Which one is char?

2

u/Daeli_Smile May 29 '20

You and me

char you[3]= "You";

char me[2]= "Me";

1

u/4lb1n0 May 29 '20

That is a char pointer, not a char.

→ More replies (1)

1

u/SkywalkingBear May 29 '20

is this fake ? if it isn't how did the user react to this error ?

3

u/ivinyo16 May 29 '20

Int(me) + you

3

u/ArgentoYM May 29 '20

I thought you and me are undefined

3

u/FlipperCanoe163 May 29 '20

the compiler: laughs in sith lord

3

u/matti2o8 May 29 '20

plot twist: This is a QA tester, testing a count-by-text bot and they received an expected outcome

3

u/-Listening May 29 '20

Thats actually one of the yeetiest yeets ever yoted

3

u/DaperDandle May 29 '20

What did you think was going to happen? You didn't even declare those variables before trying to use them!

5

u/Chakasicle May 29 '20

I don’t get it

16

u/coffee869 May 29 '20

She (I'm guessing?) is trying to say he is not her type

→ More replies (1)

2

u/CantPickDamnUsername May 29 '20

Program/person adding numbers and replying answers cant understand/operate on "you+me", because it cant be converted to integer.

2

u/shadowphrogg32642342 May 29 '20

undeclared identifier 'me'

2

u/anime8 May 29 '20

Undefined integer variables you and me

2

u/epicdynnhw May 29 '20

laughs in python

2

u/[deleted] May 29 '20

I know my calculus! (I just dated myself)

2

u/fendoroid May 29 '20

Uncaught ReferenceError: you is not defined

at <anonymous>:1:1

2

u/Arcadian18 May 29 '20

Got a lot of booleans in a sequence?

2

u/ZippZappZippty May 29 '20

<br><br>

I want you in my room

2

u/shinigamiDorobou May 29 '20

Not even flex tape can fix than.

2

u/Speedster4206 May 29 '20

I got this guys.

* {
   display: flex;
}

2

u/gopalkaul5 May 29 '20

+ operator is overloaded for Strings too, what then?

2

u/EmpatheticRock May 29 '20

69 was the only acceptable answer here

2

u/MuntedMick May 29 '20

SYNTAX ERROR

2

u/TheOscisS May 29 '20

youme 😃

2

u/nice2yz May 29 '20

Got a lot of booleans in a sequence?

2

u/[deleted] May 30 '20

Wait wouldn’t it be to string type

3

u/SenseiRage May 29 '20

anyways 1st the vars you and me have to exist, noone declared them.

ReferenceError: "you" is not defined

2

u/OMG_Abaddon May 29 '20

You already declared + is a valid integer operator, so why are you saying you can't convert to char? It's you+me not "you"+"me". And even if that was the case, most languages out there concatenate using + as operator.

You, sir, are still in pre-alpha stage.

→ More replies (1)

1

u/ivster666 May 29 '20

Would have looked real if sides were swapped

1

u/StepIntoMyOven_69 May 29 '20

Laughs in python

1

u/dirtyviking1337 May 29 '20

Thats one way to get reddit-booooo'd

1

u/dirtyviking1337 May 29 '20

That's because it's not a joke sub.

1

u/[deleted] May 29 '20

you.insert(me)

1

u/ubctm May 29 '20

I die 😂🤣🤣🤣🤣

1

u/coldfusionpuppet May 29 '20

JavaScript enters the room.

1

u/zenKato94 May 29 '20

Flirting with programmers must be hard...

1

u/imgodking189 May 29 '20

There's a lot of my programs back then.

1

u/MeetMehta54 May 29 '20

I think it was for concatenation

2

u/Even-Understanding May 29 '20

everyone tests their code; some do it in"

1

u/SomeSortOfDoctor May 29 '20

From incel to char

1

u/Even-Understanding May 29 '20

Ever heard of Piet? It’s possible!

1

u/kubinka0505 May 29 '20
>>> 10+9
21

1

u/ejuliol May 29 '20

[-] Variable “you” has not been defined! [-] Variable “me” has not been defined!

1

u/[deleted] May 29 '20

You could have not been such a strongly typed asshole and concataneted the strings like a friendly JS bro instead

1

u/YeetoMCSneeto May 29 '20

All i can say is that is just a big OOOOOF

1

u/pedritoml May 29 '20

if 1=1 print "penis"

1

u/Candlesmith May 29 '20

I used to have a '> 0' expression

1

u/-Listening May 29 '20

Or a bunch of carbs before the game

1

u/ML-XV May 29 '20

The correct answer was 69

1

u/ensignrad May 29 '20

Every language: can not convert from object to a number.

JS: "[object Object][object Object]" PARKOUR

1

u/SubFutex May 29 '20

Looks like some bot rejected your feelings :(

1

u/brandysimp May 29 '20

I don’t know In older languages (like good old basic) where you aren’t required to declare the variables first it would add them because they would be treated like variables and you get nothing... come to think about it might be a metaphor I itself lol

1

u/-Listening May 29 '20

Thats insane, I have stuff like that

1

u/iMissTheOldInternet May 29 '20

intcel more like amirite

1

u/lazyfocker May 29 '20

You’re quite a character.

1

u/deranged_scumbag May 29 '20

Wrong, 6+9 = Nice

1

u/akozlik May 29 '20

You + me = us. I know my calculus.

→ More replies (1)

1

u/[deleted] May 29 '20

Print yes

1

u/[deleted] May 29 '20

That is the worst way to ask someone out. It doesn't matter if the person being asked out likes the other person. If my crush asked me out like this, my answer would be "not happening" as a natural instinct.

1

u/Luz5020 May 29 '20

Expected a fact!

Here->You+Me

Expression defined as „wish“ which is unrecognized!

1

u/[deleted] May 29 '20

Should have reacted with: youme

1

u/RoscoMan1 May 29 '20

Thats incredible. Why is this NSFW lol

1

u/Bamfcah May 29 '20

VM78:1 Uncaught ReferenceError: you is not defined

at <anonymous>:1:1

1

u/Assasin2gamer May 29 '20

Thanks that was a pure textbook C9.

1

u/montasley May 29 '20

Convert.ToInt32(you) + me

1

u/Candlesmith May 29 '20

Got a lot of booleans in a sequence?

1

u/Valetudo170 May 29 '20

us. You plus sign me equal sign ussssssss

1

u/theqbit May 29 '20

Error: Unknown variable "you". To get to know "you", please provide phone number.

1

u/TjNordon May 29 '20

maybe mince)))

1

u/jakethedumbmistake May 29 '20

It does a hell of legacy.

1

u/[deleted] May 29 '20

Bloody hell that's a lot of clarity.

1

u/Assasin2gamer May 29 '20

Thats what i was gonna have a problem

1

u/RoscoMan1 May 29 '20

Hell of a lot better. 9.

1

u/imgodking189 May 29 '20

There's a lot of my programs back then.

1

u/[deleted] May 29 '20

Int meaning introvert and char meaning charismatic

1

u/[deleted] May 29 '20
* you+me
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'you' is not defined

1

u/jakethedumbmistake May 29 '20

An inspiration to people with brain damage everywhere.

1

u/TheZipCreator May 29 '20

If you interpreted it as strings, you could get "youme"

1

u/rolltider0 May 29 '20

lol not their type

1

u/jasfour04 May 29 '20

The answer in JavaScript would simply be youme

1

u/aalleeyyee May 29 '20

I feel like I stumbled on a car accident

1

u/Candlesmith May 29 '20

I feel like I stumbled on a car accident

1

u/imgodking189 May 29 '20

There's a lot of my programs back then.

1

u/[deleted] May 29 '20

Realistically, it'd be Error: 'You" is not defined