r/ProgrammerHumor • • 29d ago

Meme programmingLanguagesWhenYouAskThemToDoSomthing

Post image
1.6k Upvotes

224 comments sorted by

195

u/youtubeTAxel 29d ago

Sure...

Like C wouldn't just segfault

28

u/Oblivious_catalyst 28d ago

i had this really weird bug in a C program i wrote once where for some reason running this random function would cause my program to make argv point to garbage data. spent days debuging it. turns out it was because i forgot to allocate memory to an array and it was overwriting the pointer.

3

u/DeVinke_ 27d ago

I did this with two scoped local variables in c++ once.

122

u/Stemt 28d ago

The programmer is the one that told C to cause a segfault, C just does it.

12

u/MrRamRam720 28d ago

C would create 200 CVEs to be discovered 10 years later

0

u/Technical_Fly5479 28d ago

came looking for segfault for c

17

u/jediorange 27d ago

These make no sense for the most part. I don't see any humor here.

14

u/svenissimo 28d ago

You know when your old. Developed in all of these

10

u/Stackitu 29d ago

What about HolyC?

3

u/Oblivious_catalyst 29d ago

what joke do i even make for that?

14

u/PGSylphir 29d ago

"That is heresy"

7

u/D3PyroGS 29d ago

"If the LORD wills it so"

27

u/SuitableDragonfly 29d ago

HolyC says, "I asked God, he said not to."

371

u/STEMpsych 29d ago

I'm uncomfortable with the implication that the only thing wrong with javascript is its speed.

15

u/prehensilemullet 29d ago

speed isn't a big problem with JS these days anyway, V8 is quite fast

4

u/Oblivious_catalyst 29d ago

debatable

10

u/prehensilemullet 29d ago edited 28d ago

It’s not comparable to native languages but it’s faster than any PHP, Python, Lua, or Ruby interpreter/JIT out there afaik.  It’s way faster than you would think for a scripting language.  Google has put a shit ton of work into optimizing it.  If you haven’t experienced it firsthand then you would very likely be surprised

Edit: apparently LuaJIT is close and sometimes faster, I missed that in my googling

8

u/Oblivious_catalyst 29d ago

i'll give you the other 3 (not that it's a high bar) but from my experience lua is actually blazing fast for an interpreted language. sure as hell blows nodejs out of the water. (and i like nodejs)

3

u/prehensilemullet 28d ago

Ah in my googling I failed to catch that LuaJIT is often comparable with V8 and sometimes beats it.  But not always, apparently

249

u/Ri_Konata 29d ago

i more interpreted it not as a speed thing, but as a "it has a mind of its own" thing, causing ut to do whatever it wants and it'll only do what you want it to do if it aligns with JavaScript's wishes

124

u/javascript 29d ago

I do have big wishes

98

u/thrye333 29d ago

I like1 the commitment of using Java as a pfp, C++ as the flair, and Javascript as the username.

1 (This is a lie.)

62

u/javascript 29d ago • Heartwarming

I do what I can

11

u/Scientific_Artist444 28d ago

I interpreted it as asynchronicity.

6

u/Kokuswolf 28d ago

At least a prototype if it.

4

u/amatulic 28d ago

So did I. When I was first learning JavaScript, I recall getting frustrated by things not happening in the order I expected. The OP's characterization as "I'll do it when I feel like it" is appropriate.

6

u/4xe1 28d ago

I thought it should be "how I fucking want it" instead of when, with your interpretation, but I think the intent is a ref to async actually.

4

u/thanatica 29d ago

skill issue

30

u/jam_pod_ 29d ago

JS: your request makes no sense but I’ll do my best to figure something out!

29

u/throwaway563125685 28d ago

in javascript (!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]] and "tears" are the same thing, and that was done on accident

7

u/STEMpsych 28d ago

Holy shit.

5

u/namitynamenamey 27d ago

This is the most cursed thing I've seen since I read how numbers are defined in set theory. Javascript has no right to approach set theory with broken casting.

5

u/Thesaurius 27d ago

I am not surprised that they are equal, because that's just how JavaScript rolls. But ON ACCIDENT?

6

u/throwaway563125685 27d ago

yyyup. the JS type casting system is broken af

it's called JSFuck (because it looks like BrainFuck) and not only can you write any string with it, but you can also make the function constructor, meaning you can execute any string.

see also : https://jsfuck.com/

13

u/AvidCoco 29d ago

It’s not a speed thing, it’s an async thing.

10

u/BastetFurry 28d ago

🎵 In the sourcecode The quiet sourcecode The lambda sleeps tonight

Async Await Async Await... 🎵

3

u/STEMpsych 28d ago

I will never not upvote this.

7

u/goatanuss 28d ago edited 28d ago

I think it’s much more than that. It’s single threaded so its concurrency model is about scheduling not parallelism. The way it handles microtasks and its internal queues is kinda counter intuitive. And callbacks and timers in general are also kinda weird.

console.log("A");

setTimeout(() => console.log("B"), 0);

Promise.resolve().then(() => console.log("C"));

//this one is more node specific but still
process.nextTick(() => console.log("D"));

console.log("E");

This prints

A
E
D
C
B

→ More replies (1)

8

u/Flat_Initial_1823 29d ago

I thought that was more of a #JustAsyncThings

7

u/HugoNikanor 28d ago

I read it as a joke on "everything" being async.

1

u/[deleted] 25d ago

[removed] — view removed comment

2

u/STEMpsych 25d ago

Just for your future reference, I cannot tell if you mean "If you are concerned about speed, use Rust" or if you mean, "If you think JS is bad, you should get a load of how bad Rust is, whooo-eee". Not asking you to disambiguate, because the odds of my using Rust at this moment approach zero, but thought you should know.

8

u/read_eet 28d ago

I don't see Delphi in the list

6

u/Oblivious_catalyst 28d ago

enlighten me.

2

u/read_eet 28d ago

I was just curious what developers think of it as a language.

6

u/speedisntfree 28d ago

No one thinks about it

1

u/read_eet 28d ago

I guess not, man I feel old.

1

u/Oblivious_catalyst 28d ago

is thou a developer thymeself or simply carries an interest in the eldritch machines?

2

u/read_eet 28d ago

I'm a developer and have been using Delphi since it was first released for Windows back in the 90s by Borland. I continue to use it on and off but it's now from Embarcadero. I like it and wonder what others think about it.

1

u/Oblivious_catalyst 28d ago

never heard of delphi up to this point. hollup let me google...

2

u/Oblivious_catalyst 28d ago

2

u/read_eet 28d ago

Please splain

1

u/Oblivious_catalyst 28d ago

what the hell is that syntax man

1

u/read_eet 28d ago

It's better than a lot of other languages. Not pushing Delphi here but wanted to share it with other developers that may have not been introduced to it. It's been said that Delphi is much closer to the English language than many other programming languages so don't knock it too much.

→ More replies
→ More replies (1)

1

u/evilgipsy 28d ago

I don’t think people think about Delphi at all these days.

2

u/read_eet 28d ago

I still have executables that I've developed for Windows 95 that still run on Windows 11 with no issues.

1

u/read_eet 28d ago

Yeah I kinda figured since most haven't even heard of it. Too bad I might be one of the rare prehistoric developers that has an appreciation for it.

2

u/Deepborty 28d ago

King of Ithica

4

u/visualdescript 28d ago

No Perl is the bigger miss, sad

2

u/Stunning_Ride_220 28d ago

Something like the first love who took your virginity on a call summer day?

2

u/read_eet 28d ago

You could say that I guess 🤣 but my first languages were Fortran and C. In the 90's developing Windows Forms application was a fucking nightmare, Borland came up with their IDE that allowed for graphical form design which was very intuitive and powerful for that time. Fast forward to today and Embarcadero has RAD studio which allows for native cross platform development which supports coding in either Delphi or C++.

1

u/Stunning_Ride_220 28d ago

Reminds me of the old Win32Api days...I think the reference book is still one of the girthiest books in my shelf xD

1

u/read_eet 28d ago

Those days were nuts

14

u/garlopf 29d ago

TIL I'm the undertaker

3

u/Oblivious_catalyst 29d ago

huh?

9

u/garlopf 29d ago

"it's your funeral" all day long

7

u/gtiger86 28d ago

Where is a Basic? Any version

3

u/Oblivious_catalyst 28d ago

has anyone used basic since like 1999?

3

u/amatulic 28d ago

Visual Basic is still alive and well. It's the only macro language available for Excel, and I have used it extensively.

As far as I know, HP Rocky Mountain Basic is also still in use, in test & measurement environments. I used it long time ago, and it had builtin support for complex math and matrix math, as well as instrumentation control.

1

u/Oblivious_catalyst 28d ago

wasn't aware that basic and VB were actually related. however i still question if it's usage stacks up to the others. although i also listed APL so who am i to judge.

0

u/amatulic 28d ago

Yeah, those old BASIC programs from the 1970s tutorials, you can put into Visual Basic and they'll work mostly (with the GOTO and GOSUB statements and all), although the behavior of the PRINT command in those days was different than it is now.

Sometimes I miss GOTO. The C language has it. I used to use it for things like dropping through a switch() statement for more compact compiled code, back in the days when memory was valuable -- even before the days when Bill Gates famously said 640K is enough computer memory for anyone. (And look at Windows now, needing gigabytes just to hold the OS in an idle state.)

1

u/Dorkits 27d ago

Yeah... Unfortunately...

24

u/GarThor_TMK 29d ago

Having used rust for a bit, I feel like it should be more like...

No.

Lua should be starts sweating... 😅

5

u/Oblivious_catalyst 28d ago

in my head i think of rust as deeply paranoid with crippling anxiety that overprepares for everything

6

u/metaltyphoon 28d ago

It's more "My way or the highway" or "You are doing it wrong"

4

u/Batman_AoD 28d ago

It's more like the developers are deeply paranoid, and have hired Rust to inflict their paranoia on users. So yeah, the Rust compiler doesn't "sweat" with anxiety (though it arguably makes your CPU "sweat" with effort), it tries to make you sweat (with anxiety). 

(For transparency, I love Rust and think the "paranoia" of Rust devs is actually fully justified caution based on decades of programming bugs.)

4

u/Beastmind 28d ago

Nah, cargo would tell you how you failed your life because you tried to borrow some shit you already borrowed earlier

2

u/GarThor_TMK 28d ago

That's just saying "no" with extra steps.

800

u/New_Salamander_4592 29d ago • Popcorn Bravo

C++: answer my make file riddle of three if a compiled program you wish to see

69

u/-Kerrigan- 28d ago

Ask me the questions bridge keeper compiler, I am not afraid!

23

u/gerbosan 28d ago

What's your favorite keyword?

29

u/Oblivious_catalyst 28d ago

in C++ mine would probably be volatile

20

u/MiloBem 28d ago

in Rust it's apparently "unsafe"

11

u/gerbosan 28d ago

Well, I don't know. Aaaaiiieeee!!

16

u/-Kerrigan- 28d ago

Blue! bool!

5

u/nuuren 28d ago

friend, obviously

4

u/Classic_Appa 28d ago

What is your filename?

100

u/Ignitrum 28d ago

Well pack it up guys, we're not beating this jewel of a joke

1

u/Frostbyte67 27d ago

And like I’ve always said, C++ gives you enough rope to hang yourself with!

4

u/unknown_pigeon 28d ago

Have you ever used python?

There will always be a convenient library written in C that will make your script almost as fast as if it was written in that language.

19

u/Oblivious_catalyst 28d ago edited 28d ago

so essentially the best way to use python is to not use python?

2

u/Leather-Persimmon254 28d ago

1

u/Oblivious_catalyst 28d ago

i know what abstraction is. i get the concept. my point being if the only way to make your language fast is to exclusively call functions from C libs then what's the fucking point?

4

u/NullOfSpace 28d ago

The intent of python as a scripting language is as a convenient wrapper and way to use existing tools. It’s not a language for writing software, it’s a language for performing tasks using said software.

1

u/Oblivious_catalyst 28d ago

tell that to the python fanboys

2

u/unknown_pigeon 28d ago

Well well

3

u/Oblivious_catalyst 28d ago

fuck is that supposed to mean?

1

u/shill_420 28d ago

Wellity wellity wellity

5

u/JorgiEagle 28d ago

I mean….. you’re not wrong

1

u/Oblivious_catalyst 28d ago

have you ever used any language other than python?

141

u/Popstar403 29d ago

godotscript:

here, let my child do it:

here, let my child do it:

here, let my child do it:

here, let my child do it:

here, let my child do it:

here, let my child do it:

...

108

u/readf0x 29d ago

I audibly laughed at APL, truly the most illegible programming language

24

u/WystanH 29d ago

Same. That one felt like the most arcane reference. It has a logo? That APL?!?

The syntax existed before the implementation. The author didn't imagine anyone would try to type it.

5

u/JollyJuniper1993 29d ago

Gotta do it with abbreviations in the IDE, like with Julia or Latex.

3

u/Daniikk1012 28d ago

Or autoformatter like Uiua's

2

u/Daniikk1012 28d ago

The logo is pretty recent actually, there was a vote for a vendor-agnostic APL logo, and this was the one that won. APL as a language did not have a logo before that, only specific implementations did

15

u/Daniikk1012 29d ago

It's surprisingly not, once you learn what the symbols mean. In fact, the symbols become an advantage once you get used to them, sort of like how it is more readable to use "+" rather than "plus" in math expressions

9

u/StCreed 28d ago

Yeah... I feel like you're kinda on your own here 😀

5

u/JollyJuniper1993 29d ago

You might wanna check out Uiua then, that one‘s even worse

65

u/Daniikk1012 29d ago

If you were to keyboard mash for APL, at least do it with the proper characters:

⌶⍫⍒⊖⍋⍟⍱⍲⌽¨¯<>≠∨=∧⍺⌈∊⌊⍴↑↓⍳○⌈⌊_⊥⍹↑↓⍷⍸⍥⌊∆_∩⍤

9

u/OuPau 29d ago

it's a meme, not a faithful representation

1

u/b0redsloth 22d ago

Besides, we have to leave the wrong symbols there to feed the pedants. 😆

45

u/Ben_0 28d ago

Lua: Done!

checks output

Output: nil

39

u/urbanek2525 29d ago

LISP: (((Sure)why)not)?

27

u/LJonReddit 29d ago

SQL: I can, but I really shouldn't. Go ask C#.

27

u/xXHomerSXx 28d ago

No COBOL, if you die the world dies.

1

u/nequaquam_sapiens 27d ago

thus: I have no mouth and I must scream

25

u/CirnoIzumi 29d ago

Swift: only if you bring my buddy Xcode

25

u/da_dragon_guy 29d ago

Can we get more of those old ‘Star signs in different situations’ shitposts but instead of astrology it’s coding languages?

38

u/Ex_Federa 29d ago

As yes, C. Famously the easiest language to do things in.

36

u/b183729 28d ago

Oh, it will do it. It will do exactly what you tell it to. That's the problem. 

25

u/da_Aresinger 28d ago

It is though.

C doesn't fail on complexity. It fails on convenience and safety.

24

u/ncatter 28d ago

In my admittedly small experience C does exactly what you asked for, no questions asked.

9

u/evilcandybag 28d ago

Unless you do something undefined. Then it's demons out of your nose.

8

u/amatulic 28d ago

Yup. You want it to write data beyond the bounds of an array? No problem. You asked for it.

I remember a quotation from when Pascal was taught in schools. You could say the same about Python nowadays:

"Pascal gives you a water pistol filled with distilled water. C not only gives you a loaded .357, it points it at your head as a default. Why do you think Pascal is taught in school? And which would you rather have when there is a hungry bear in the area?"

2

u/Maniklas 27d ago

Never heard it before, but I love that metaphor and will keep it for my students.

1

u/amatulic 27d ago

It may have originated from a fortune cookie file that was available for AmigaDOS. Some of those were clever and I wrote them down.

3

u/namitynamenamey 27d ago

So a more accurate description would be "On it boss! *cocks shotgun*

1

u/coderstephen 27d ago

Especially when questions should be asked.

1

u/originalmicrousb 27d ago

boss the kernel has something to say to you

10

u/conundorum 29d ago

FORTRAN: So far away.

2

u/hraath 29d ago

"if this isn't a matmul job, I'm out"

10

u/ancientstraits 29d ago

What did my goat Lua do...

19

u/creeper6530 29d ago

Nothing 

65

u/Independent-Tank-182 29d ago

Child when making dumbass memes:

45

u/hraath 29d ago

Rust: please call back in 2-4 business weeks for compiling to be completed

24

u/WilkerS1 29d ago

nah, that's for the language server. it takes longer to actually compile

10

u/Usual_Office_1740 29d ago

Monomorphization no go brrr?

1

u/Batman_AoD 28d ago

Would be better if it mirrored the Python one: "Give me 3-5 business days (to compile)" 

8

u/redditor50613 29d ago

i saw something about floppy disks being used in some govt agencies and thought oh probably COBOL.

7

u/SuitableDragonfly 29d ago

Go should say, "I'm not responsible if something goes wrong, k?"

6

u/Just-Signal2379 29d ago

TS: I'm sorry you're not my type, also js come here for a sec

6

u/Cootshk 29d ago

Lua should say nil

15

u/nicodeemus7 29d ago

VBScript: "Please don't use me"

5

u/notexecutive 29d ago

CoaxedIntoBiasedProgrammerHumour

5

u/vanteli 29d ago

sad D language noises

5

u/Smalltalker-80 28d ago

"It's your funeral" LOL

5

u/Selentest 27d ago

Perl:

I guess i'll die

9

u/HeavyCaffeinate 28d ago

I will not accept this Lua slander

8

u/gerbosan 29d ago

well you don't really need Rails for it to work. Perhaps rbenv or mise. Mise is fine.

I think Java could be asking for:

4

u/xX_UnorignalName_Xx 28d ago

Haskell: you want me to WHAT?

4

u/CaptainHawaii 28d ago • Bravo

I'm in this image and I don't like it ... Java was my first language and that's literally my usual first question....

7

u/TSCCYT2 28d ago

WTF is APL?

10

u/Key_River7180 28d ago

A language with a lot of ✨ Unicode ✨

4

u/amatulic 28d ago

APL literally means "A Programming Language". See Wikipedia for more information.

3

u/AstroCaptain 28d ago

A Programing Language (APL) from the 60s that most terminals and displays of the time couldn't even display the character set properly of

3

u/Daniikk1012 28d ago

You were already told about the character set it uses, so let me say more about the rest.

APL is the language that pretty much invented the array programming paradigm, like the one you would see in NumPy. In APL, typing 1 2 3 + 4 5 6 gives you 5 7 9, automatically applying addition to each element. It has a lot of other symbols for many different kinds of operations like reversing, sorting, transposing, reducing, scanning, searching, etc. This allows you to write programs very concisely, without using loops or branching

1

u/Alternative_Emu_2927 26d ago

Hi there, can you explain how that example operates? My son is interested in APL and I’ve been wondering about it

1

u/Daniikk1012 26d ago

So in APL, to create an array you just type a bunch of values (In this case numbers) next to each other, so 1 2 3 results in a 3-element array containing 1, 2, and 3. Numbers are written as you normally would, except negative numbers use ¯ prefix instead of - (Cause - is instead a function), so you write ¯5 to get negative 5.

Next, how functions are parsed. All functions in APL use infix notation, with only one precedence rule - functions take everything to the right of them, and only the closest thing on the left. So 1-2-3 parses as 1-(2-3), 2*2+2 parses as 2*(2+2). You need explicit parentheses for left side to be evaluated first: (1-2)-3. That is, function calls are right-associative, or in other words, APL is evaluated right to left.

Each function has two ways it can be called - with one argument (monadically, which happens when there is no value on the left of the function) or with two arguments (dyadically). For same function these two variants usually perform closely related operations, but not necessarily. For instance, dyadic ÷ is division, so 4÷2 is 2, while monadic ÷ is multiplicative inverse, so ÷2 is 0.5.

Now, primitive functions like + are defined to operate on whole arrays instead of just individual elements. For arithmetic functions, if you use them on arrays of same shape, they will apply to each corresponding element, so 1 2 3+4 5 6 is 5 7 9 like was already shown. You can also use arithmetic on an array and a single number, which will apply it to every element of the array and that number, so 1 2 3+5 is 6 7 8. Same for monadic arithmetic of course, it just applies to each element, so -1 2 3 is ¯1 ¯2 ¯3.

There are more functions of course, like monadic ⌽ for reversing an array, monadic ⍉ for transposing a matrix (Arrays in APL can be multidimensional), ⍴ for reshaping an array (Or getting its shape if used monadically), etc.

Then there are operators, which take functions and result in new functions. They are parsed differently than functions, being left-associative. For instance, / operator takes a function on its left and produces a function that reduces an array by inserting that function in-between each element. For example, +/1 2 3 is equivalent to 1+2+3 and results in 6.

For more info I'd visit something like tryapl.com, it is a good playground to learn APL, and has some tutorials too. If you wish to download an interpreter locally, the most popular and feature rich one is Dyalog APL, which is free for personal, non-commercial use.

3

u/ExtraTNT 29d ago

Haskell: i will it evaluate it, once i evaluated, that it’s really needed, to do that, i will use monoids in the category of endofunctors.

3

u/armahillo 28d ago

Ruby stan here — Ruby is actually a really awesome language on its own, without rails.

My day job is predominantly in rails (with some plain ruby scripts) but i write a lot of plain ruby scripts outside of work.

6

u/Sea-Fishing4699 28d ago edited 28d ago

I hate to admit but… python is the only one willing to do the job… python talks to cpython and the job is done

4

u/polandreh 28d ago

If you touching SQL makes you drop the entire database, then you shouldn't do SQL, like at all... leave it to the DBAs...

2

u/meinkr0phtR2 28d ago

INTERCAL: please

2

u/amatulic 28d ago

I would have liked to see Ada in that list.

1

u/MagicBandAid 28d ago

Ada: I'm going to need to see some ID.

1

u/Mountain-Ox 28d ago

Actually, Go doesn't understand what this "try" word means. Do or panic, there is no try.

1

u/Coffee_exe 28d ago

“Lua: no” damn.

1

u/Aelig_ 28d ago

This post can't have been made by a human. Is anyone human in this thread at all? This has to be the most appalling thing I've seen in this sub in years.

1

u/tubbstosterone 28d ago

Correction:

Python: "Hey C, can you come over here for a sec..."

1

u/Mysteryman5670_ 28d ago

Rust: yes, but you will need 5 brazillion dependencies and you won't actually be able to compile it because rustc will get oomkilled or otherwise seize your entire bloody machine.

1

u/sagotly 28d ago

dont get the go one

1

u/JAXxXTheRipper 28d ago

TIL SQL is a programming language

1

u/PossibleAthlete2988 28d ago

Omg lua is here

1

u/[deleted] 27d ago

C#: yeah give me a few years to compile

1

u/[deleted] 27d ago

Python in reality: “Give 3-5 business minutes”

1

u/Hm_bmb 27d ago

Delphi (Pascal): I can do it without any problem

1

u/namitynamenamey 27d ago

To be fair to python, it wanted to do research and development, not service industry code.

1

u/ekipan85 27d ago

Forth: ok

1

u/PrefectedDinacti 26d ago

I'm making a World of Warcraft addon and apparently Lua is indeed saying no

1

u/TSS_Firstbite 29d ago

Damn, I'm a student, have had some experience in a good chunk of these languages and the one that speaks to me the most is Lua refusing to do anything

-3

u/queen-adreena 29d ago

Programmer: Can you do some-

Rust: Done!

-11

u/Choice-Committee203 29d ago

what is wrong with c++? if we're talking about modern c++ (at least c++11 or even latest c++23) then it's a pretty good language, you can just... use the stl. it's not c with classes anymore, it has lots of lots of actually good features. you can literally just code without worrying about memory management like in c. c++ works on RAII, where object's constructor allocates memory (often automatically now) and destructor frees it (also automatically). it's much more similar to java, but with more features. i think nowdays you need to think more about memory in java, take string comparation or array copying for example, in java str == "meow" is compating the pointers so the result is almost always false, so you have to use ugly str.equals("meow") workaround. in c++, there's a thing called operator overloading, where you don't write the .equals() methods, but just overload the == operator itself for that object, so str == "meow" works as intended. or in java when you do array2 = array1 then it's again copying the pointers, so that array1 and array2 now again point to the exact object in memory. in c++, again, the std::array which you hopefully should use instead of c-style arrays, is again overloaded, so array2 = array1 actually deep copies the data from array1 to array2. if you keep using raw c pointers*, raw c arrays[], raw c malloc/free, raw c strings (char*) then OBVIOUSLY you're going to receive a segmentation fault some day, if you use safe std::unique_ptr/std::shared_ptr, std::array/std::vector, raii principles, and std::string, then c++ is a fucking modern safe language!!!! #stopcppstereotypes

anyways, about the image: c++ should be "On it, boss!" c should be "Segmentation fault (core dumped)

7

u/Choice-Mango-4019 29d ago

anything can give segfault if you're good enough

0

u/Choice-Committee203 28d ago

but in c is WAAAAAAY more common