r/ProgrammerHumor • • Jul 08 '20

Meme Your IDE when you declare a new method

24.7k Upvotes

365 comments sorted by

741

u/[deleted] Jul 08 '20

It's down there somewhere let me take another look..

237

u/Selbi Jul 08 '20

Wanted to include that part at first but couldn't think of a good programming subversion.

267

u/colonel_bob Jul 09 '20

What about

"I'll get around to it, how about a return ret for now?"

Variable ret isn't defined, Lebowski!

99

u/Selbi Jul 09 '20

Damn, that's great! Would've fit nicely with Lebowski getting tossed down. Maybe I'll do an extended version some day.

95

u/ivb107 Jul 09 '20

Maybe I’ll do an extended version some day.

// TODO:

→ More replies (4)
→ More replies (2)

13

u/sinkwiththeship Jul 09 '20

Eclipse just adds return null; and I honestly find that super annoying.

21

u/Versaiteis Jul 09 '20

"Wrong return type shit heeeaaaad"

36

u/JonXP Jul 09 '20

throw new NotImplementedException();

9

u/[deleted] Jul 08 '20

It's awesome even without it!

→ More replies (3)

19

u/[deleted] Jul 08 '20

It really tied the method together.

9

u/PopeInnocentXIV Jul 09 '20

Obviously you're not a loosely-typed language.

3

u/[deleted] Jul 09 '20

That is seriously one of the best lines in any movie, as far as I'm concerned.

917

u/T0bi_Ethirbirge Jul 08 '20 edited Jul 09 '20

Hands down, One of the best editing I have ever seen.

Thank you good sir, You've made my day

288

u/Selbi Jul 08 '20

Thanks, took me ages to set up those animations for the VSCode icon. Glad to hear it's appreciated!

112

u/retucex Jul 08 '20

In my heart, you're r/highqualitygifs material

13

u/BobCatNinja_ Jul 09 '20

Please tell me u used mocha in after effects and didn’t manually do it...

5

u/trololololololol9 Jul 09 '20

Isn't normal AE tracking enough for this?

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

0

u/[deleted] Jul 09 '20

[deleted]

→ More replies (1)

21

u/budzene Jul 08 '20

I agree, for a bunch of people that actually create things for a loving on computers, there are some shitty memes.

8

u/mediumdata2338 Jul 08 '20

But Drake has such funny expressions! I'll definitely never get sick of that one.

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

9

u/negativeaffirmations Jul 09 '20

Awesome job.

Outta curiosity, what did you use to make this? I saw in one of your comments you said it took a while to get the VSCode icon tracked; if you did this in AE, you should look into the face tracking it can do - it can be a quick way track something like that with minimal effort.

9

u/Selbi Jul 09 '20

Camtasia, which is really limited. I had to manually tween the icon near frame by frame. Painstaking, but it was doable.

3

u/negativeaffirmations Jul 09 '20

Damn, I don't know Camtasia. Regardless, great job!

6

u/shuthefuckupdumbcunt Jul 08 '20

OMG I fucking love this. That's amazing. Well done if that's your OC.

8

u/Selbi Jul 08 '20 edited Jul 09 '20

It is! The angry IDE joke isn't exactly new, but I had a shower thought of combining the Lebowski scene with it the other day.

Still mad I couldn't find a good joke for the "it's down there somewhere" quote...

→ More replies (2)

2

u/aaah123456789 Jul 09 '20

This person writing someBoolean lowercase... Intellisense would tell you "we don't don't do this here" for C# code.

2

u/Selbi Jul 09 '20

It's Java. You could also tell because it said boolean, not bool.

→ More replies (1)

2

u/BB1CC Jul 09 '20

return true; Just leave me alone!

1

u/Selbi Jul 09 '20

Most people seem to return false at first. What makes you so confident to go for a fixed true instead?

848

u/TennesseeTon Jul 08 '20

Me: This is why I don't enable language support. Leave me alone, I know what I'm doing.

My compiler:

225

u/[deleted] Jul 08 '20

I just bash the keyboard til it compiles and runs.

147

u/Ezequiel-052 Jul 08 '20

-every movie hacker ever

80

u/TheLordOfFriendZone Jul 08 '20

I'm in.

66

u/sixsupersonic Jul 08 '20

I performed a SQL injection on their mainframe.

→ More replies (5)

29

u/xSTSxZerglingOne Jul 09 '20

"What did you do that got you in so fast?!"

"Oh, their surveillance system is basically open game, completely unsecured and three days ago I found a slow typing back-end developer and watched him enter his login info. The video wasn't super high quality though, so it took a few attempts"

→ More replies (4)
→ More replies (4)
→ More replies (1)

27

u/WafflesAndKoalas Jul 08 '20

My résumé is just an 8.5x11 paper with this sentence printed in the center

→ More replies (1)

7

u/Etheo Jul 08 '20

If monkeys worked for Shakespearean plays why not codes right

3

u/fatmumuhomer Jul 09 '20

Very easy to do with Perl!

→ More replies (4)

54

u/[deleted] Jul 08 '20

Kimi Raikkonen vibes here

27

u/myth-ran-dire Jul 08 '20

F1 and programming? Sign me up!

12

u/n64gk Jul 09 '20

Oh my god, F1, programming, and IASIP all in one thread. All it needs now is DJing and that’s my entire existence in a reddit thread (oh, and reddit, but we’re already here).

5

u/turboPocky Jul 09 '20

It's become more of a hobby for me lately than anything else...

3

u/h0er Jul 09 '20

You will not have the drincc.

→ More replies (1)

12

u/[deleted] Jul 09 '20

Wait, you really code without language support?

56

u/driveslow227 Jul 09 '20

"yeah, I'm the one who pushed code that was fully broken because I refuse to use modern technology"

I've worked with so many people who refuse to use linters/proper language support and it baffles me. Your IDE will tell you code won't run in real time, before running tests, before runtime.

We live in the future, fucking use the tools.

22

u/TennesseeTon Jul 09 '20

Anyone who pushes code that doesn't work should be thrown in a pit. That's not a language support issue. Language support doesn't tell you anything about your logic being correct.

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

10

u/[deleted] Jul 09 '20

To stick with OP’s theme, your compiler be like

4

u/lxpnh98_2 Jul 09 '20

Smokey, this is not Javascript, there are rules...

→ More replies (1)

150

u/AX-11 Jul 08 '20

return false;

60

u/Zantej Jul 09 '20

throw new NotImplementedException();

20

u/crozone Jul 09 '20

throw new NotImplementedException("It's finished when it's finished!!!");

31

u/Zantej Jul 09 '20

Mr Fancy here with an exception message.

28

u/FerretWithASpork Jul 09 '20

Now it's reported as an unused function

45

u/WildJury8 Jul 08 '20

This may be the best gif I’ve ever seen. Definitely made my day also. I loved all the red underlines, that was a nice touch.

7

u/TheLeastCreative Jul 09 '20

I have never actually laughed out loud from this sub until today.

→ More replies (1)

5

u/PriorCommunication7 Jul 08 '20

You know the IDE could just insert a return value below the cursor all of it's own after you type in the opening parenthesis. Or add the parenthesis itself for that matter.

12

u/Selbi Jul 08 '20 edited Jul 08 '20

Might be reading too much into this joke.

→ More replies (1)

4

u/Verdiss Jul 08 '20

It can do that, if you write a call to a function that doesn't exist, you can have it autogenerate the function, and it generates with a return new NotImplementedException();

125

u/ineyy Jul 08 '20

Oh it's not such a problem for me. IntelliSense and highlight on my projects breaks more often than it works.

19

u/zelmarvalarion Jul 09 '20

And yet it still manages to be more consistent than Test Explorer. I really need to switch to using mdbg, it’s gonna be a lot faster than reopening the solution, restarting VS, and restarting my computer enough times to get that thing to work

10

u/crazybirddude Jul 09 '20

working with c++ or a giant library or something?

→ More replies (1)

3

u/shipdestroyer Jul 09 '20

Same here. Command palette > Reload window sometimes fixes it.

→ More replies (2)

61

u/[deleted] Jul 08 '20

I almost always return null; where I can just to get it to shut up

26

u/[deleted] Jul 08 '20

Cries in Kotlin.

16

u/dpsinghvij Jul 09 '20

TODO() ???

9

u/[deleted] Jul 09 '20

Shhhh... I'm meeming.

3

u/kjm015 Jul 09 '20

fun myHopesAndDreams(): String? = null

→ More replies (4)

7

u/AvianPoliceForce Jul 09 '20

unimplemented!()

4

u/[deleted] Jul 09 '20

Then you forget to change it and have a minor panic attack the first time it runs

5

u/wguo6358 Jul 08 '20

Visual studio code is not an IDE

10

u/Selbi Jul 08 '20

The discussion can be found within this comment section.

Also Visual STUDIO is definitely an IDE. This is VS Code.

EDIT: Sneaky edit while I was writing this reply. Oh well.

→ More replies (2)

4

u/arm_is_king Jul 09 '20

It can be an IDE if you install the right extensions for what you're working on.

→ More replies (2)

29

u/dominic03_ Jul 08 '20

Just write the return statement before writing the function

68

u/aless2003 Jul 08 '20

I don't really have the Problem in IntelliJ and CLion.

I can only tell how fast I left VS xD

69

u/thatchers_pussy_pump Jul 09 '20

JetBrains IDEs are the best in the business, even if fairly demanding. They're just so damn well designed and nothing comes anywhere close. But they are expensive.

27

u/SuperCoolFunTimeNo1 Jul 09 '20

But they are expensive.

Webstorm is only $130/yr and free for students. If your company won't pay for it time to look elsewhere. Compared to an AWS billing cycle or Oracle licensing that's a drop in the bucket.

24

u/thatchers_pussy_pump Jul 09 '20

Damn straight. I'm just referring to being a hobbyist. PHPStorm is $200/year, CLion is also $200/year, so it really adds up for someone who isn't making money on it. Thankfully, my work pays for it.

16

u/ftgander Jul 09 '20

Hobbyists can always use the EAP versions. Not ideal but they work well enough.

→ More replies (4)
→ More replies (8)
→ More replies (1)
→ More replies (8)

3

u/MatthiasSaihttam1 Jul 09 '20

There was time when I used vim exclusively because I couldn’t stand imperfect language support.

I’ve recently switched to IntelliJ, and it’s not bad for Python or Java, once you’ve turned off the worst of the style suggestions. But I’m writing some Lua, and it’s behavior is far from intuitive. Similarly for JS it can’t really provide any useful help.

TL;DR: depends on the language.

10

u/SuperCoolFunTimeNo1 Jul 08 '20 edited Jul 08 '20

I gave vscode a shot but after a month I ditched it. I spent hours reading about how people configure it and what packages to use, but at the end of the day I just don't know how people use vscode let alone are fans of it. It's clunky and slow thanks to electron, debugging packages are a fucking nightmare and never work (forget about trying to get xdebug working) and I just can't stand the overall layout of it. What the hell is the purpose of open editors when the same info is right across the top of the window? The activity bar on the left is just horrendously designed, it's massive! Why do I need dedicated search and extensions buttons? Yea, you can hide it, but then you lose access to actually important functionality like source control and explorer. I use oh-my-zsh with some font packages and they just don't work with vscode so I always had to have iterm open in addition to it. For lightweight editors I'm going with sublime text, but for full blown IDE's JetBrains products are great. I do prefer Eclipse over IntelliJ though if I'm working with Java.

53

u/Alikont Jul 08 '20

VSCode is a good default editor. If your language community does not have the resources to build a specialized IDEs (like Visual Studio), the plugin for VS Code is a much easier investment to get ok-ish ide. As a language developer you only need to implement your language-specific LSP, and everything else you get for free.

It's also has the best support for JS and TypeScript on the market. And considering the amount of web developers, it creates a lot of positive noise.

→ More replies (6)

8

u/ftgander Jul 09 '20

Confused about the font packages thing. VSCode uses whatever terminal font you specify, and they work perfectly. I use oh-my-ssh and oh-my-posh with it. Also, every other ide has a search button. Your complaints are weird. I find vscode works pretty well for a free editor. For node development, at least.

3

u/[deleted] Jul 08 '20

I liked it for HTML and CSS (had to use it anyway) but damn it's a bitch for JS.

→ More replies (3)

3

u/TheLazarbeam Jul 09 '20

You can choose which buttons appear on that left hand toolbar. You don’t have to sacrifice the version control button to get rid of the search button.

26

u/AntonBespoiasov Jul 08 '20

Their toilet hole seems to be really big. Normally he would just hit his head with marble inside part of a toilet is made of

34

u/NterpriseCEO Jul 09 '20

GCC: This is what happens when you leave out a semi colon, Larry.

Python: Eight year olds, Dude.

JavaScript (when code has errors): Yeah, well, you know, that’s just, like, your opinion, man.

Java: Do you have to use so many cuss words?

Assembler: Fuck it, Dude. Let’s go bowling.

Brainfuck: This is a very complicated case Maude. You know, a lotta ins, a lotta outs, lotta what-have-yous.

CSS: That rug really tied the room together.

C#: Let me explain something to you. Um, I am not Mr. Lebowski. You’re Mr. Lebowski. I’m the Dude.

6

u/MoffKalast Jul 09 '20

C# treats objects like women.

hurls cup of Java

2

u/Sarenord Jul 10 '20

CSS: That rug really tiedholds the room together.

8

u/[deleted] Jul 08 '20

The solution to this is to put all your code in one file. The compiler will be too busy blowing through memory to notice your mistakes.

→ More replies (1)

6

u/[deleted] Jul 08 '20

I know right? Chill. I’ll return it in a sec.

5

u/markshure Jul 08 '20

This is hilarious. Good job.

5

u/[deleted] Jul 08 '20

It's only bad when you have auto-save turned on.

1

u/JayCroghan Jul 09 '20

Is this a 1gb gif or something? My mobile browsers and Reddit app all crap out trying to load it...

1

u/Selbi Jul 09 '20

It's almost exactly 1.5 MB. Good luck with your internet!

1

u/[deleted] Jul 09 '20

Since this video can’t be downloaded I just took screen grabs of every relevant frame - jokes on you, it makes an even better flipbook

1

u/Selbi Jul 09 '20

It can't be? That's odd...

1

u/[deleted] Jul 09 '20

Nay - not on mobile

1

u/Selbi Jul 09 '20

Seems to work here. I click on the GIF, click the three buttons in the top right, and press "Download as animated GIF". If that doesn't work I guess it's platform-dependent.

1

u/DaniilBSD Jul 09 '20

VS code can be toned down. The Android studio underlines fades and creates a warning every time you declare a variable (and have not used it yet)

1

u/Selbi Jul 09 '20

We're assuming stereotypes and default settings for memes.

→ More replies (1)

1

u/[deleted] Jul 09 '20

Can you remove the f-word from the last frame?

2

u/Selbi Jul 09 '20

So "shit head" is fine but "fucking" is too much?

→ More replies (1)

3

u/Spedwards Jul 09 '20

If I'm in a mood where my IDE complaining at me will be annoying, I make methods return void until I'm ready to actually return a value. That or I just add a placeholder return statement to be removed later.

3

u/Grizzzed Jul 09 '20

I wanna learn programming just so can I can understand these fucking memes

5

u/superquanganh Jul 09 '20

This meme is a method must return a value, since you just created a new method, and you will eventually return a value later, but IDE will instantly complain that you must return a value

1

u/wookieewrath Jul 09 '20

LOL! This is hilarious 😂😂! One of the best OCs I've seen on this subreddit. So true (also, great movie choice👌).

How do you create the "animations"/editing?

2

u/Selbi Jul 09 '20

I used Camtasia Studio. There are more efficient tools, but it did the job.

6

u/minimalniemand Jul 08 '20

5

u/ToaKraka Jul 09 '20

If you don't want to rely on a bot, you can just use the free "youtube-dl" program. It works on Reddit as well as on YouTube.

→ More replies (6)

2

u/Verdiss Jul 08 '20

C# should just automatically throw an exception if it doesn't get a return value instead of making you do it yourself.

2

u/[deleted] Jul 08 '20

This is high quality 🤣

2

u/Spazattack43 Jul 08 '20

It’s down there somewhere let me have another look

2

u/Reigretsim Jul 08 '20

WHERE'S THE RETURN VALUE?

2

u/BelieveRL Jul 09 '20

if (1==1){ return true; }

4

u/SuspiciousScript Jul 09 '20

Or return 1==1

Or return true

Or just return 1

→ More replies (3)

2

u/robix25 Jul 09 '20

And this is why I make all my methods void until I figure out what the fuck I wanna return

3

u/[deleted] Jul 08 '20

VSCode intellisense is fucking awful mind

5

u/root54 Jul 08 '20

Ya.

Hey you typed this word in another file let me force it down your throat when you clearly want ToString

1

u/Ratatoski Jul 08 '20

Bunny says you can afford it.

1

u/root54 Jul 08 '20

This cuts deep

1

u/Trite-Pessimist Jul 09 '20

This is great.

1

u/linuxloner Jul 09 '20

That's just like your opinion man

1

u/linuxloner Jul 09 '20

I can get you a boolean man, what is it 4 o clock? ... I can get you a boolean by 6 o'clock.

1

u/RoscoMan1 Jul 09 '20

But this is my new favorite video

1

u/lazilyloaded Jul 09 '20

Just grow up and use Visual Studio

1

u/ForsakenAthiest Jul 09 '20

So accurate.

1

u/PhotosbyRob Jul 09 '20

I just laughed for a solid 15 seconds. OP, you did good with this.

1

u/chownrootroot Jul 09 '20

That method really tied the library together.

1

u/[deleted] Jul 09 '20

Bravo. Finally some good, original humor.

1

u/dmm4kes Jul 09 '20

I needed this. Thank you.

1

u/AGooDone Jul 09 '20

Fucking hysterical!

2

u/-Listening Jul 09 '20

Rich has always been hysterical to me, too.

1

u/CallMeMikeil Jul 09 '20

Haven’t laughed that good in a while hahah

1

u/-Listening Jul 09 '20

They call it a night.

1

u/ION606 Jul 09 '20

You got me, you got me

1

u/-Redstoneboi- Jul 09 '20 edited Jul 09 '20

you get used to it.

1

u/Tickytackytocky Jul 09 '20

Not the reason why I stick with Vim, but it's a plus!

However, on the "minus", it leaves me to figure it out on my own later when my code doesn't work...

1

u/DuffMaaaann Jul 09 '20

Who has so much water in their toilet that they could drown someone in it?

1

u/ZippZappZippty Jul 09 '20

congrats! it’s the new Confederate Flag

1

u/[deleted] Jul 09 '20

Laughs in Dart

1

u/jakethedumbmistake Jul 09 '20

Your hair looks like a badly acted sitcom

1

u/JustSumGui Jul 09 '20

That was amazing.

1

u/oldshaghat Jul 09 '20

One of the finest things I've seen ever

1

u/Sweet-Can Jul 09 '20

Laughs in type inference.

1

u/pbrblueribbon Jul 09 '20

Error. Missing arguments, arguments not defined, where’s the fucking arguments you scrub dev?!

1

u/[deleted] Jul 09 '20

That's one reason I avoid IDEs where possible I will compile my code when I'm ready

1

u/vonstarck Jul 09 '20

Literally laughed out loud at this to where my wife had to see what it was. Stinking well done.

1

u/[deleted] Jul 09 '20

That's why I use Notepad++

1

u/HumunculiTzu Jul 09 '20

I always declare the return variable and return it immediately after creating a method because of this.

1

u/AltruisticEmphasis Jul 09 '20

Can someone help me out on how to setup vscode for c++?

1

u/LBXZero Jul 09 '20

Notepad++ doesn't talk back to me.

1

u/Smashoody Jul 09 '20

That function really tied the room together.

1

u/[deleted] Jul 09 '20

This is the best gif I’ve ever seen

1

u/FitzRoyal Jul 09 '20

I love this so much and I can’t stop laughing but I have nobody to share this with because nobody would understand why I think it’s so funny.

1

u/[deleted] Jul 09 '20

We need more of this content!

1

u/smart-username Jul 09 '20

Is it bad that I knew what the jokes was going to be as soon as I read the title?

1

u/[deleted] Jul 09 '20 edited Jul 09 '20

1

u/jgbradley1 Jul 09 '20

And to motivate you further, VS will consume all your memory until you take care of the problem and restart.

1

u/JNCressey Jul 09 '20

and boolean sounds like bullion

1

u/[deleted] Jul 09 '20

I haven't laughed this hard since before quarantine. Thank you!

1

u/-IoI- Jul 09 '20

👏👏

1

u/adorak Jul 09 '20

Another post that goes beyond air being pushed out of my nose in an accelerated fashion ... I actually laughed ... thanks for that

1

u/[deleted] Jul 09 '20

Thats amazing haha

1

u/I_am_a_Failer Jul 09 '20

Was think about doing a Meme Like this but with Spongebob panicing, but i was to lazy

1

u/Sodium1111 Jul 09 '20

I like this meme

1

u/SirAchmed Jul 09 '20

Someone dub audio please.

1

u/Infrisios Jul 09 '20

First thing whenever I create a method with return value: Declare variable, return variable.

Just so the IDE doesn't annoy the hell out of me.

1

u/Duck361 Jul 09 '20

Just return null

1

u/[deleted] Jul 09 '20

Well, just work with JS or Ruby and you have no issues like this..

1

u/4C6F7264 Jul 09 '20

return null;

1

u/car1_llama Jul 09 '20

Python programmer go brrrrrr

1

u/darkmodeyagami Jul 09 '20

U/VRedditDownloader

1

u/ratmfreak Jul 14 '20

This is amazing. A+ post.