this post was submitted on 30 Dec 2024
504 points (98.6% liked)

Programmer Humor

19967 readers
618 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 36 comments
sorted by: hot top controversial new old
[–] [email protected] 94 points 2 weeks ago (1 children)

I usually code in Language or Script

[–] [email protected] 6 points 2 weeks ago

Don't we all? Amen.

[–] [email protected] 34 points 2 weeks ago (1 children)

Javascript is basically like Java but with some scripts in it

[–] [email protected] 12 points 2 weeks ago (1 children)

But what about script java?

[–] [email protected] 32 points 2 weeks ago (1 children)

That’s 𝒥𝒶𝓋𝒶.

[–] [email protected] 16 points 2 weeks ago

Hey, no cursive here, this is a family instance.

[–] [email protected] 30 points 2 weeks ago (1 children)

C+

I highly doubt anyone would guess ANSI C is what I'm talking about if I referred to it as C+

[–] [email protected] 2 points 2 weeks ago

The list shows TempleOS's HolyC was known as C+ before. I am sure that is it

[–] [email protected] 16 points 2 weeks ago

my main language is script java

[–] [email protected] 15 points 2 weeks ago (1 children)

It's just C++ without templates. So whatever element you want to put into std::list, it must virtually inherit std::list::value_type. And of course there will be a macro-based list monstrosity inside Boost.

[–] [email protected] 2 points 2 weeks ago

Types being declarable as virtual members is something I want to never hear again

[–] [email protected] 14 points 2 weeks ago
[–] [email protected] 12 points 2 weeks ago

Language

I have job for you “language” programmers.

Requirements; -minimum 8 years of experiences Etc…

[–] [email protected] 10 points 2 weeks ago

Holy-C used to be called C+, I think.

[–] [email protected] 9 points 2 weeks ago

And then, comes ScriptJava

[–] [email protected] 9 points 2 weeks ago

What kind of programming language is language?

[–] [email protected] 8 points 2 weeks ago

And C‡ is once again not included. For shame.

[–] [email protected] 7 points 2 weeks ago

lol it’s like c++ but we removed friend classes and other bullshit no one uses lol

[–] [email protected] 7 points 2 weeks ago (1 children)

It's just C with a borrow checker.

[–] [email protected] 1 points 2 weeks ago
[–] [email protected] 7 points 2 weeks ago (1 children)

To be fair, compiling C code with a C++ compiler gets you all the warnings from C++'s strong-typing rules. That's a big bonus for me, even if it only highlights the areas of your C that are likely to become a maintenance hazard - all those void* casts want some documentation about what assumptions make them safe. Clang will compile variable-length arrays in C++, so you might want to switch off that warning since you've probably intended it. Just means that you can't use designated initialisers, since C++ uses constructors for that and there's no C equivalent. I'd be happy describing code that compiles in either situation as "C+".

Also stops anyone using auto, constexpr or nullptr as variable names, which will help if you want to copy-paste some well-tested code into a different project later.

[–] [email protected] 1 points 2 weeks ago (1 children)

Isn't auto a keyword in C?

[–] [email protected] 1 points 2 weeks ago

It means something else.

[–] [email protected] 5 points 2 weeks ago (2 children)

Becerdik Patrick! Ülkemizi kurtardık!

[–] [email protected] 3 points 2 weeks ago

I was not expecting turkish Spongebob today

[–] [email protected] 1 points 1 week ago

Ama SpongeBob... Ben C bilmiyorum! Tek JavaScript yazmayı biliyorum!

[–] [email protected] 5 points 2 weeks ago

Thats just HolyC before it became holy

[–] [email protected] 5 points 2 weeks ago

Ah yes, I too, program in the Language programming language

[–] [email protected] 5 points 2 weeks ago
[–] [email protected] 4 points 2 weeks ago (1 children)

Didnt knew Arduino is a programming language now.

[–] [email protected] 3 points 2 weeks ago (2 children)

To be honest I'm still confused by a lot of these microcontroller languages (PlatformIO/Arduino/ESPHome)...

Are they just drag and drop feature blocks that are essentially C macros, but you never get to see the code and its all abstracted with flow diagrams?

[–] [email protected] 7 points 2 weeks ago

The standard Arduino platform is essentially C, just with some standard hardware-near procedures hidden away as far as I know. You can just write standard C code in two blocks: init and loop. Then the loop block will be repeated for ever. For controlling voltage pins you have easy commands similatlr to like pinState(PinNumber, on/off). I do not know about the others you mentioned, but there definetely is also some implementations for Raspberry Pi control by drag&drop. There is no need to limit yourself with those though.

[–] [email protected] 5 points 2 weeks ago

I don't know about the others, but Arduino is literally just C++ with some macros/library functions.

[–] [email protected] 2 points 2 weeks ago

Now I want to learn Algol++

[–] [email protected] 1 points 2 weeks ago
[–] [email protected] -4 points 2 weeks ago

last time i checked turkey had erdogans brother in law ruining the countries finances, his wife take a midget mistaken for a child to kiss on the head and their foreign minister call the foreign minister of my country a dog and arresting a human rights activist stautner.

i think it is safe to say turkey ist a really really stupid country. or to be more precise: the people living in turkey must be stupid as they not omly shit on their minorities (e.g. kurds) like normal nazis but constantly also on their own people as anyone can see from how they dont even help the victims of the last earthquake in the east.