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

Programmer Humor

25098 readers
1721 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
 
all 37 comments
sorted by: hot top controversial new old
[–] gigachad@sh.itjust.works 101 points 6 months ago (1 children)

I usually code in Language or Script

[–] babybus@sh.itjust.works 7 points 6 months ago

Don't we all? Amen.

[–] introvertcatto@lemmy.blahaj.zone 35 points 6 months ago (1 children)

Javascript is basically like Java but with some scripts in it

[–] TurtleTourParty@midwest.social 12 points 6 months ago (1 children)

But what about script java?

[–] disguy_ovahea@lemmy.world 34 points 6 months ago (1 children)

That’s 𝒥𝒶𝓋𝒶.

[–] WhiskyTangoFoxtrot@lemmy.world 17 points 6 months ago

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

[–] mvirts@lemmy.world 31 points 6 months 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+

[–] mexicancartel@lemmy.dbzer0.com 4 points 6 months ago

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

[–] BuboScandiacus@mander.xyz 16 points 6 months ago

Language

I have job for you “language” programmers.

Requirements; -minimum 8 years of experiences Etc…

[–] PrettyFlyForAFatGuy@feddit.uk 16 points 6 months ago

my main language is script java

[–] pelya@lemmy.world 15 points 6 months 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.

[–] Sonotsugipaa@lemmy.dbzer0.com 2 points 6 months ago

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

[–] pewpew@feddit.it 14 points 6 months ago
[–] MargotRobbie@lemm.ee 13 points 6 months ago

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

[–] VeganCheesecake@lemmy.blahaj.zone 12 points 6 months ago

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

[–] M33 11 points 6 months ago

And then, comes ScriptJava

[–] RandomVideos@programming.dev 9 points 6 months ago

Thats just HolyC before it became holy

[–] ZILtoid1991@lemmy.world 9 points 6 months ago

What kind of programming language is language?

[–] 1stTime4MeInMCU@mander.xyz 8 points 6 months ago

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

[–] T156@lemmy.world 8 points 6 months ago

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

[–] addie@feddit.uk 7 points 6 months 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.

[–] Sonotsugipaa@lemmy.dbzer0.com 1 points 6 months ago (1 children)

Isn't auto a keyword in C?

[–] Opisek@lemmy.world 2 points 6 months ago

It means something else.

[–] Agent641@lemmy.world 5 points 6 months ago
[–] cows_are_underrated@feddit.org 5 points 6 months ago (1 children)

Didnt knew Arduino is a programming language now.

[–] tetris11@lemmy.ml 4 points 6 months 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?

[–] Kratzkopf@discuss.tchncs.de 9 points 6 months 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.

[–] DaPorkchop_@lemmy.ml 7 points 6 months ago

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

[–] Skullgrid@lemmy.world 5 points 6 months ago (2 children)

Becerdik Patrick! Ülkemizi kurtardık!

[–] tetris11@lemmy.ml 3 points 6 months ago

I was not expecting turkish Spongebob today

[–] OmegaLemmy@discuss.online 1 points 6 months ago

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

[–] collapse_already@lemmy.ml 2 points 6 months ago

Now I want to learn Algol++

[–] anhcuky@programming.dev 2 points 6 months ago