TheaterFire

This sub in a nutshell

Posted by electricjimi@reddit | ProgrammerHumor | View on Reddit | 210 comments

This sub in a nutshell

Reply to Post

210 Comments

Intelligent_Event_84@reddit

Rust devs are still trying to figure out which type of string they want to use for their thought bubble
View on Reddit #434177

sup3rar@reddit

What's so complicated about it? We have String, &str, CString, &CStr, OsString, &OsStr, Cow, &[u8], [u8; N], Vec<u8>, &Path, PathBuf, Arc<str>, Box<str>, Box<[u8]>, Rc<str>, Cow<'static, str> and a couple of others. It' s not that hard...
View on Reddit #439501

Makel_Grax@reddit

COW????????
View on Reddit #450988

sup3rar@reddit

Clone On Write. I haven't used it much, but basically it's either a reference or a owned value, and you can switch between them depending on your needs
View on Reddit #456250

capi1500@reddit

Moooooo
View on Reddit #455842

iArena@reddit

Copy on write
View on Reddit #452571

trevg_123@reddit

For the uninitiated: - String: resizable utf8 string on the heap - &str: reference to any utf8 string, static or on the heap - CString: resizable null-terminated string on the heap (for FFI compatibility only) - &CStr: Reference to the above - OsString: Resizable string of whatever the OS uses for commands and environment and such. Utf8, Utf18, invalid characters, whatever - &OsStr: Reference to the above - Cow<str>: copy on write - &[u8]: u8 buffer (slice), wide pointer with location & length. This is the underlying type for many of the above - [u8; N]: u8 array of length N - Vec<u8>: Resizable vector of u8. - PathBuf: OsString wrapper for working with paths - &Path: reference to the above Nobody uses the <str> versions of these in normal use, but these are smart pointers: - Box<T>: Smart pointer to anything on the heap, like c++ unique_ptr - Rc<T>: Refcounted pointer to something on the heap (not thread safe) - Arc<T>: atomically refcounted pointer (thread safe), equivalent of c++ shared_ptr In summary: there’s a static buffer &[u8], and a dynamic Vec<u8>. Then there’s a utf8 version of each (str/String), a null terminated version for FFI (CStr/CString), an OS-compatible version that may be utf16 (OsStr/OsString), a path wrapper on top of that (Path/PathBuf). Sound complex? It can be, but you never need all of these. You’ll thank yourself when your program doesn’t output different things on Windows and Linux terminals, or crash when file names contain invalid characters.
View on Reddit #443791

Praying_Lotus@reddit

Is Rust…is Rust a good/useful language? Just seeing all the possible types of strings makes it seem like a bunch of code vomit. I genuinely have no idea, my only exposure to it is people shitting all over it on here lol
View on Reddit #446920

trevg_123@reddit

I love it. Mileage varies of course, but I think people tend to enjoy it a lot after they have a couple weeks to warm up - the gist is, it makes it really hard to write incorrect code. 99% of the time you use &str or String for everything, and don’t need to care about the others. Other cases: 1. You read environment variables, paths, etc., then you get an OsStr 2. You are working with the C FFI and need CStr for minimal parts of code 3. You’re working with paths and use PathBuf. I don’t think of this as a string type, it’s more like python’s PathLib (things like file_name, canonicalize, etc) You can convert from &str/String to any of the other types when needed - but these conversions are fallible. For example, you can’t do: - &str -> CString if your string contains \0 (which is valid Unicode) - Vec<u8> -> String if it’s not valid Unicode - PathBuf -> String if it contains invalid utf8/16 (And of course you have options for how to handle these cases, e.g. just lossy convert with the replacement character). Weird at first? Sure. But in return, you skip: - Wacky #defines that switch between char* and wchar_t* - Manual path handling that doesn’t work across Linux-windows - You know that String/&str is _always_ utf8 and you _always_ know the length, unlike char* (unsized memory buffer? Null terminated string? Something else?) - Your program doesn’t break in bizarre ways because it assumes that file names or terminal input have valid encoding or are UTF8 Handling these things in C or C++ is just…. yuck. I think the proper handling turns into way way worse code vomit than just having these types available, which you don’t need to touch if you don’t need them. (If you’re coming from something like Python, it more or less handles all this for you of course) Anyway, YMMV but I do think they made some very good decisions, which do make it so writing correct code is easier than writing incorrect code.
View on Reddit #448220

Praying_Lotus@reddit

My background has been in Java, a bit of Python, and I’ve been doing a ton of JS/REACT (which obviously includes HTML and CSS), and I’m still fairly new using programming in a professional setting, so anyone who uses any of the C languages is like a wizard to me. Is Rust built on top of one of the C languages like Python is? It sounds like it is, but I want to be sure. Also how have you used it in personal or professional settings? I will literally try anything once if it seems useful/fun lol
View on Reddit #450062

trevg_123@reddit

Oh… yes, it’s quite different from Python. There’s no runtime or garbage collector like Python, Java or Go has. Instead it compiles down to machine code like C or C++ does, for performance: but, the compiler disallows a lot of errors that you’d kind of write “by default” in those languages. Things like segfaults, buffer overruns, invalid pointers, etc, so the result is your code runs more correctly like Python or Java would (but without the runtime overhead). I realize that makes 0 sense, especially to somebody who hasn’t dabbled much with C. I would kind of recommend learning some C before Rust - you really have to shoot yourself in the foot 500 times with C or C++ to appreciate what Rust does. That being said: a bit of dabbling never hurts, and the community is open to helping people of all programming backgrounds. And if your company is thinking about replacing any of the Java applications for performance reasons, Rust would be the correct direction to look at this time (compared to C++)
View on Reddit #450940

Praying_Lotus@reddit

That’s definitely something I’d have to take into account in the future, as I want as many tools in my belt as possible. unfortunately right now, I only work as analyst at my company. The goal is to transition to the IT department or software engineering somewhere else after a full year at my current company. From what you’re describing, does that mean that there’s no real error handling as is more common with other languages?
View on Reddit #452681

renrutal@reddit

Rust can control machines at low level, and these are all ways that programmers have come up to represent strings in machines, and optimizations for them. If it looks like vomit, it's just the result of humanity being creative dealing with an ugly world.
View on Reddit #448399

Depress-o@reddit

This actually makes perfect sense to me, guess I'm too deep into the rabbit hole already
View on Reddit #440887

PopularIcecream@reddit

To someone who's never used RUST, may I ask why are there so many? Do you even use them or are they kind of niche / very specific applications?
View on Reddit #447052

TurtleTheSeaHobo@reddit

There’s so many because each of those is a combination of a given character encoding and ownership. * String/str -> known-length UTF-8 * CString/CStr -> the way C does it (null-terminated ASCII) * OsString/OsStr -> the way your OS does it (UTF-8 for Unix, UTF-16 for Windows) Ownership: * &str/&[…]Str -> Reference to a string owned by someone else. I can’t delete it or change it. * &mut str/&mut […]Str -> Mutable reference to a string owned by someone else. They’ve allowed me to change its contents, but not delete it or change its length. * […]String -> Owned by me. I can change it’s contents and delete it whenever I want. I can give other code references to it. Then there’s those other three that are kinda strings, but really just used more when dealing with encoding/serialization stuff: * Vec<u8> -> Vector of unsigned bytes. Similar to std::vector<char> in C++. Has conversions to and from other owned string types. * [u8; N] -> N-length array of unsigned bytes. * &[u8] -> Slice of unsigned bytes, which is a reference to some array of unsigned bytes. It could be just part of a larger array (hence the name “slice”). Has conversions to from other non-owning string types. By the way, the bit about slices also applies to the other reference string types. They could also be slices of larger strings. PathBuf/&Path are like OsString/&OsStr but with methods to enable easily working with paths. You can push and pop directories and file names, and they’ll handle representing that as an OS-appropriate path. Box, Rc, and Arc are owning pointer types used for allocation. Box is the simplest: it uniquely owns its contents. This is like most owning types in rust. Rc is a reference-counted shared pointer. Ownership can be shared by cloning the Rc, which increments a counter tracking the number of references. When someone is done with the Rc, the decrement the counter. If they find it to be zero, they know that they were the last owner of the Rc, so they go ahead and actually delete the data it owned. Arc is Rc, but the counter is atomic so that cloning is safe with multiple threads. Box, Rc, and Arc have generally immutable content, with extra methods to acquire it mutably if possible. It’s always possible for Box, and possible for Rc and Arc as long as there are no other remaining references to the same content. Cow<‘static, str> is a clone-on-write reference to a statically-allocated string. As long as I don’t need to change the underlying string, the reference points to same statically-allocated content. I’m allowed to change it though (it’s an owning reference), and if I do, the Cow will clone the static string into a new allocation so that I don’t affect the original. So yeah, definitely not that bad. (i’m going entirely off of memory here so this might not be 100% accurate)
View on Reddit #448551

sup3rar@reddit

95% of the time you only use `String` and `&str`, for 'owned' and 'borrowed' strings. Some others are for specific use cases, like `CString` to interact with C
View on Reddit #447228

metaltyphoon@reddit

Only the top 6 are valid. The rest are some smart pointer to a string type, a byte array, slice of bytes which are not strings.
View on Reddit #443398

MrMars05@reddit

what
View on Reddit #442558

arisatox@reddit

Sorry, I’m unable to read that. I only know English 🥺
View on Reddit #441140

Intelligent_Event_84@reddit

Admittedly, to see it all laid out like this from a professional, such as yourself, really clears up any confusion
View on Reddit #439701

ladananton450@reddit

Still haven't figured out how to draw a memory safe thought bubble
View on Reddit #437881

VladVV@reddit

Shouldn’t that be a C or Assembly programmer? It seems that in Rust you almost have to be trying on purpose to create memory insecurities.
View on Reddit #438930

konstantinua00@reddit

yeah, that's why rust person can't do it at all
View on Reddit #456205

Jazzlike_Tie_6416@reddit

Well technically there are some edge cases where the complier suddenly decides to be dumb about something and leaks some memory. You just need to know when and avoid those edge cases.
View on Reddit #439714

DomeE__@reddit

On my Rust training I learned that memory leaks are memory safe in the definition of Rust's memory safety. That's why cycling references are still valid and safe Rust code which are leaking memory. But with all the other safeties it is won't happen casually.
View on Reddit #443378

Kyyken@reddit

that'll take me a lifetime
View on Reddit #439200

elixir-spider@reddit

That's a rust joke that I now get.
View on Reddit #441062

Kyyken@reddit

I just wanted to make a reference, i kind of borrowed that joke from somewhere else
View on Reddit #445282

konstantinua00@reddit

now I can't change it...
View on Reddit #456200

GamingWithShaurya_YT@reddit

Boolean type
View on Reddit #437299

Conseqdbh@reddit

if I had time to make memes....
View on Reddit #440034

GamingWithShaurya_YT@reddit

there is always imgflip and the meme format can be the office meeting one where the random answer guy wins while logical answer fail
View on Reddit #440100

IHeartBadCode@reddit

`Vec<u8>` is the only way.
View on Reddit #438984

Kyyken@reddit

&[u8]
View on Reddit #439165

wegorz9@reddit

PHP is the best language
View on Reddit #456083

BerserkerVTuber@reddit

Guy in the corner: "Oh shit, how did I get that job?? I mean, yes, I can program in my sleep, but I'm getting paid $30/hr and PTO can roll over. So, when will HR find out that I don't have any college experience, and I have two basic certifications"
View on Reddit #455965

wut101stolmynick@reddit

Ah sorry, thought this was r/furry_irl this whole time
View on Reddit #455849

remy_porter@reddit

Every programming language is terrible.
View on Reddit #435484

Blaz3@reddit

Some are just more terrible than others
View on Reddit #454499

StrangelyBrown@reddit

We can't say any are good. But we all know that there are bad ones.
View on Reddit #440933

arobie1992@reddit

I'll give you a regex that matches all of the bad PL names: `.*`
View on Reddit #448783

ObeyTime@reddit

0s and 1s was the best, until it was replaced by all this nonsensical "human" language
View on Reddit #445493

FatLoserSupreme@reddit

The only opinion that's objectively wrong is right here ^
View on Reddit #436185

remy_porter@reddit

I mean, there are no good programming languages, only good enough languages.
View on Reddit #436608

l4z3r5h4rk@reddit

Lol. It’s like the joke about engineers: “anyone can build a bridge, but only an engineer can just barely build a bridge”
View on Reddit #437631

fedex7501@reddit

I love this
View on Reddit #443450

d1rect0ry@reddit

How can you know if it’s wrong. You can never test your hypotheses since you are testing to an infinite stream
View on Reddit #442216

Ok-Transition7065@reddit

Let him cook
View on Reddit #438540

Blaz3@reddit

I am a front end dev and while typescript is pretty great, JavaScript is a complete shambles. I will happily acknowledge that most languages are probably better than JavaScript.
View on Reddit #454494

Maveko_YuriLover@reddit

I just understand today on the shower that C++ name is because of ++ means x = x + 1
View on Reddit #434600

Inevitable-Cellist23@reddit

Yup it’s c with the addition of one thing - classes
View on Reddit #454177

kzlife76@reddit

True story. C# was almost named C++++.
View on Reddit #438219

FoundOnTheRoadDead@reddit

It is C++++ - you just rearrange the ++++ into #
View on Reddit #448166

xCreeperBombx@reddit

The first Seven Cs of the C-ries: C C++ C# C#++ C𝄪 C𝄪++ C𝄪#
View on Reddit #449948

noname942@reddit

Except that it has nothing to do with C or C++, it's just as misleading as JavaScript having "Java" in its name
View on Reddit #443724

kzlife76@reddit

I didn't say it made sense.
View on Reddit #443796

jaybee8787@reddit

![gif](giphy|lXu72d4iKwqek)
View on Reddit #439256

JollyJuniper1993@reddit

D
View on Reddit #438109

mrSunshine-_@reddit

Sorry. After thirty years you lose any preference whatsoever.
View on Reddit #454145

ltethe@reddit

I’ll be honest… I’ve never had this thought. I’m in C# and Python daily, and C++ infrequently. I dunno where this language elitism comes from. The job requires a language, I use it.
View on Reddit #453756

TheRitalinCommando@reddit

I see far more posts saying, "this sub is like this" than actual disagreements over languages.
View on Reddit #440613

tboy1492@reddit

Aye, we like to jump in and kinda fake saber rattle for fun but we don’t actually mean it from what I’ve bee seeing, just having some fun
View on Reddit #453703

scorpsec@reddit

Any python programmers here?
View on Reddit #444521

tboy1492@reddit

I’m starting to dabble, mostly so I could help my daughter with her programming class for middle school coding class but being in online school at her own pace she ran through half the course in about two weeks. Her teachers recommending her for AP courses for college creds for future classes.
View on Reddit #453678

BandidoDesconocido@reddit

I never understood why people are so willing to die on the hill of a programming language. Most languages have use-cases that make sense for them, based on the tools and frameworks as well as the focus of the common libraries. Some languages are objectively bad though (Objective-C, I'm talking about you).
View on Reddit #446925

tboy1492@reddit

I see what you did there lol
View on Reddit #453650

Danteynero9@reddit

My language is intelligent. Me on the other hand, not so much.
View on Reddit #449297

tboy1492@reddit

Spoken like an expert I knew :)
View on Reddit #453642

ariel3249@reddit

Why don't you accept the fact the x languaje is the better than the rest? - Said a Junior, no matter time.
View on Reddit #453128

OkCarpenter5773@reddit

honestly, people bashing languages usually have no experience in writing in them and do it just because they heard those jokes from someone else and took them seriously... python -> yes, it's slow, but you can script damn fast in it c++ -> performance goes brrrr rust -> compiler becomes your friend php
View on Reddit #437885

dontBeOffensivepls@reddit

php?
View on Reddit #438398

Lukester__@reddit

?>
View on Reddit #452307

OkCarpenter5773@reddit

php
View on Reddit #439826

dontBeOffensivepls@reddit

I tought so 😥
View on Reddit #439886

astro-pi@reddit

Look, I hate Python, but it’s a good language. I use it constantly. I love R/C++, but they’re not the best use case for writing lots of stuff (or learning to program!) I use it when it’s feasible, but often I need to use what everyone knows. Scheme (and it’s mother language Lisp) are a great meme, and assumably beloved language, but I don’t hear a lot of my industry contacts using them daily. IDL is a trash language, but it was used for decades as the common language, and it has some of the nice benefits of FORTRAN. Regex is absolutely fucking incomprehensible, but it’s great for slicing strings! I could go on, but languages are all like that—they either have legitimate reasons someone hates them, or they aren’t used.
View on Reddit #437260

DeepGas4538@reddit

what causes you to hate python if you say its a good language? just curious
View on Reddit #451139

astro-pi@reddit

I hate the documentation, the constant package conflicts, the syntax is kind of bad sometimes, and any time it has to import another language, all hell is unleashed in the form of writing everything to a single pointer since “it doesn’t _do_ pointers”
View on Reddit #451893

skesisfunk@reddit

I wouldn't personally list Regex as its own language. Its more of a language feature IMO.
View on Reddit #439979

arobie1992@reddit

Regex is definitely a defined syntax and behavior independent of programming language. Whether it's a programming language is a bit different of a matter, but I would say it exists as its own language that many PLs have support for.
View on Reddit #448724

skesisfunk@reddit

> behavior independent of programming language That's not even really true though. Different languages have different flavors of regex, at best you can say you can say its a syntax that is semi-independent from of programming languages.
View on Reddit #448785

arobie1992@reddit

There's a definite set of standards, which is why things like [Regex Cheatsheets](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet) work. Yes, languages have variations, but they all conform to some set of rules that define a standard of sorts. It'd be like saying that TCP isn't a protocol unto itself because there are variations in the different implementations.
View on Reddit #449776

DarkSideOfGrogu@reddit

It's more like a seizure.
View on Reddit #449593

astro-pi@reddit

I suppose. I’ve seen it listed both ways.
View on Reddit #440162

HunterIV4@reddit

> Regex is absolutely fucking incomprehensible, but it’s great for slicing strings! Best description of regex ever. When I'm *creating* a regex pattern it all makes sense. When I look at it an hour later? "WTF is this mess? What does it even do?"
View on Reddit #446197

DarkSideOfGrogu@reddit

I always add a comment with a link to regex101 that explains how the arbitrary set of symbols and random letters does something useful.
View on Reddit #449665

Ok-Transition7065@reddit

What about java??
View on Reddit #438527

Jazzlike_Tie_6416@reddit

Good to learn pure OOP stuff, fuck the module (or package or whatever they call it) system. It's like C++ good when was invented, aged like milk IMO
View on Reddit #439832

DarkSideOfGrogu@reddit

Maven? Yep, fuck Maven and take Gradle with you too.
View on Reddit #449618

windigo3@reddit

I agree on R. It’s too terse. The document is difficult to understand. It’s like, here are five examples, go figure out the rest yourself. I read a funny comment on Reddit. You have a problem and think, ah, this will be a good one for R. Well. Now you have two problems.
View on Reddit #445973

astro-pi@reddit

Oof. But at least it’s well documented (too many languages to listen here) and the packages don’t conflict with each other (Python)
View on Reddit #448492

TrageDK@reddit

Nah, can't be. My language is the best
View on Reddit #451383

top_of_the_scrote@reddit

assembly, the only one that matters
View on Reddit #451251

ilovecssbutithatesme@reddit

all languages are stupid and we try to use them intelligently
View on Reddit #450832

Character-Education3@reddit

My language makes me physically ill
View on Reddit #450169

CAlexZA@reddit

Not just programmers, mankind in gegeral.
View on Reddit #434575

xCreeperBombx@reddit

\*gregeal
View on Reddit #449992

Zumokoto77@reddit

Tattoo with “HTML Thug Life” on my chest!
View on Reddit #433148

nickmaran@reddit

Me with "Scratch Master Race" tattoo
View on Reddit #438257

xCreeperBombx@reddit

I prefer SimPL for serious work
View on Reddit #449876

d1rect0ry@reddit

Don’t you mean tag life?
View on Reddit #442165

brianl047@reddit

![gif](giphy|b5TAwO38hQOLgF5Yrz)
View on Reddit #441972

Empty-Ad-3257@reddit

People are tribalist in nature, we just need to more common sense.
View on Reddit #437015

Northujhuinjjnhj@reddit

I disagree, I've never come here to gloat that php takes a big dump on all of your languages.
View on Reddit #438121

Iron_Garuda@reddit

Pretty sure this is a bot account.
View on Reddit #440318

oshaboy@reddit

Blub is the best language, every other language is either missing features or has features that are just Blub but with extra steps.
View on Reddit #449750

FoundOnTheRoadDead@reddit

s/language/editor/
View on Reddit #448181

dumnaya@reddit

I know python is slow but it gets my work done and i love programming in it.
View on Reddit #434202

kevdog824@reddit

Anytime someone says “Python slow use … it’s faster” ask them “okay, … might be faster than Python, but is YOUR … code faster than Python?” Also Python has language features like generators, which significantly increase performance over iteration in other languages. Right tool for the job sort of thing
View on Reddit #442689

HunterIV4@reddit

Poorly written Python is slow. And perfectly optimized C++ will be faster than perfectly optimized Python. But most of the time this is irrelevant, because nobody is bothering to write perfectly optimized code in either language. Heck, half the time code with the best performance actually has poor maintainability and extensibility. There's a reason Python is one of the most used languages in the world. The milliseconds of difference it takes to display a terminal prompt before running C code from a library and spitting out a CSV is almost always completely irrelevant, but the hours you save avoiding random pointer errors or overriding class templates is worth its weight in gold.
View on Reddit #446590

kevdog824@reddit

100% this
View on Reddit #447841

karmahorse1@reddit

With modern processors, language performance is irrelevant for about 95 percent of programming project anyways. If a performance improvement isn’t noticeable to the end user, then you shouldn’t waste your time worrying about it. Way too many engineers are hung up on micro optimisations that are completely inconsequential in real world scenarios.
View on Reddit #447447

dumnaya@reddit

True. solving Leetcode problems in python helps a lot in focusing more towards the idea than just being stuck with debugging language related complications.
View on Reddit #445426

routamorsian@reddit

Imho It also is the only proper business viable option for certain types of tasks. Like sure, I could do my language processing in C++ or even Java. I also probably could continue to hit myself with hammer until everything stops hurting, and it’d be equivalent the same experience.
View on Reddit #442829

dumnaya@reddit

Yes many startup’s demand for Django or flask as it is one of the few ways to develop a system quite quickly.
View on Reddit #445323

l4z3r5h4rk@reddit

Python is super fast to write too
View on Reddit #437676

skesisfunk@reddit

If you are overly attached to one language then you doing this programmer thing wrong.
View on Reddit #439998

karmahorse1@reddit

Yeah it’s never a great sign to me when an engineer is overly hung up on a certain language / framework / IDE. All those things are just tools to do a job. If you can’t do your job using different tools, then you’re probably not a great programmer.
View on Reddit #447179

SinkPanther@reddit

I use php. I never feel this way
View on Reddit #447128

Chryssie@reddit

Really, because the main sentiment I see is that this subreddit is full of conflict adverse juniors who think every language is as good as every other language based on flimsy truisms.
View on Reddit #446806

400double@reddit

"hAHA ![img](emote|t5_2tex6|4550) sLOw loL"
View on Reddit #433087

BurnTheBoats21@reddit

this sub is full of first year com sci students making fun of senior data scientists for using python
View on Reddit #438296

HunterIV4@reddit

To be fair, college basically teaches that the most important thing about programming is efficiency and getting really optimized Big O values. And when you actually get into the industry you discover that CPUs are actually pretty fast and aren't intimidated by your customized CRUD GUI. The only thing that really matters is whether or not you can hit your deadlines and deliver on time, and that iteration speed is more important than execution speed in 99% of scenarios. Now my answer to "what language should we use?" is always "what language will get a working solution the fastest with the least amount of headache for the team available?" That answer isn't necessarily the most efficient, but it's the one that's most important to my company, so it's the one that happens.
View on Reddit #446398

cryptomonein@reddit

I use Ruby, and if I sum all milliseconds you gain from doing something in Rust instead of Ruby, the results will still be less than the development time difference
View on Reddit #437205

fedex7501@reddit

Unless it’s some calculation that requures doing something billions of times. Then it matters
View on Reddit #443499

WorkFromHomeOffice@reddit

I don't care what you all think, Kotlin is the best language in the universe, and multi-verse.
View on Reddit #446298

JustAPotatoThatsIt@reddit

C# is great
View on Reddit #445901

ploud1@reddit

They're all dumb, all languages are equal. &#x200B; Now, C++ is more equal than other languages. I mean, *seriously*.
View on Reddit #445636

Thunder_Child_@reddit

Us real bros write in Ms paint, then have chat gpt turn that into machine code which generates JavaScript.
View on Reddit #445313

mgray88@reddit

I’m going old school (even though I practically just picked it up) Perl ftw
View on Reddit #445193

meyerdutcht@reddit

We gotta talk about something besides which IDE is best (EMacs).
View on Reddit #444775

Jock-Tamson@reddit

I thought we all had imposter syndrome? Is it just me? Oh god, it’s just me…
View on Reddit #436784

sargsauce@reddit

I was gonna say... Replace the comic with them all thinking "I hope none of them realize I don't know what I'm doing."
View on Reddit #444023

Jock-Tamson@reddit

I think they’re on to us sarg.
View on Reddit #444523

Appropriate-Scene-95@reddit

Don't worry, if you have the best programing language nobody notices. Trust me
View on Reddit #441991

Jock-Tamson@reddit

*Looks at Delphi legacy code* Oh no!!!
View on Reddit #442043

Giulio_otto@reddit

There are not good or bad lenguages, there are the one who you understand and the one you don't
View on Reddit #444074

Successful-Note6589@reddit

Machine code ones and zeros supremacy
View on Reddit #435656

FatLoserSupreme@reddit

Nobody is going to read machine code as 1s and 0s. It's going to be hex. Something like S123FC0080A04...
View on Reddit #436250

noname942@reddit

[insert amateurs meme] �a�S�x T���s��ƗV�n�Ǩ>�jf�T���ж%��˰��i� � -����ҹ�ҹP��9a�Cj��J�I�0��b�=7f#)��L�O������P��GKߔ��θm��_�ּ0V��N�^W���&-C���A�:��/P�Vu��<7��5Lח�빀H���!�R�-��\;�4�T�2�,������~�O�}#u%�Y^����gA��U \�G�vT��N&�v9�����y��ѥRkJ�����6�5o��� !m}Η�o�1��+�|�����y3Պ��0&�܌�A�|�p���ѓ�ݖ�x���u�ƝN5��%U��c�d|3���Zi(�^C
View on Reddit #443910

Automatic-Choice-794@reddit

I disagree, I've never come here to gloat that php takes a big dump on all of your languages. Even though it does.
View on Reddit #434526

Jazzlike_Tie_6416@reddit

I don't get why people hate one of the best scripting languages largely used, specially PHP 8. The only annoying thing is the $var_name, I hate having to press w button everytime I need to use a variable.
View on Reddit #439929

thegameoflovexu@reddit

https://stackoverflow.com/questions/22140204/why-md5240610708-is-equal-to-md5qnkcdzo
View on Reddit #443546

Jazzlike_Tie_6416@reddit

Bro, PHP doesn't have strong typing. Comparing variables in PHP is the same as comparing them in JavaScript. If you don't want this to happen you are using the wrong language.
View on Reddit #443651

thegameoflovexu@reddit

Even JavaScript doesn’t have an issue this bad with it’s type coercion. I‘m just joking anyways lol, just use === and you‘re good in this regard.
View on Reddit #443698

Jazzlike_Tie_6416@reddit

I'm still pushing for ====. Just to have a meme option.
View on Reddit #443726

thegameoflovexu@reddit

PHP is the only language to be bold and instead of calling it something boring like „split“ they went with „explode“, hell yeah I want to explode my strings!
View on Reddit #443772

dddaemonnn@reddit

even scratch..?
View on Reddit #443133

AntyCo@reddit

"God, i hope nintendo wont Sue me for the pokemon fangame i made"
View on Reddit #442811

Goat1416@reddit

I'm a JS dev. This doesn't apply to me. J's is dumb asf
View on Reddit #440411

Appropriate-Scene-95@reddit

Chad
View on Reddit #442466

Dark_Reaper115@reddit

Last night I heard that Python is the JavaScript of programming languages. I'm still confused. Please send help.
View on Reddit #442461

golgol12@reddit

You can tell these are all junior programmers. Seniors wouldn't have used such a nice word as "programmers"
View on Reddit #442416

PrometheusAlexander@reddit

I really like Python, but am secretly envious of everyone who know C
View on Reddit #437472

Appropriate-Scene-95@reddit

You can learn it pretty fast. Start with variables char, int, float etc. (No pointer yet)(and don't to string operations just print formatted to test) and arithmetic operations. Then look at functions, structs, typedefs and enums. After this try to find some pre processing things to find out like include, ifdef, define. Learn more about the compiler and linker. Somewhere between functions and pre processing macros you should try to understand arrays and pointer because that will be pretty much your program logic. Look at further functions provided in header files like memcpy, memcmp, malloc, free. If you do arrays and pointer you can start doing strings (is the same)
View on Reddit #442279

No-Menu-768@reddit

How can you argue with the comic when it's true
View on Reddit #442232

Semicolon_87@reddit

If you are worrying about what language is best you really are a noob pos Dunning Kruger
View on Reddit #442170

DeProgrammer99@reddit

Blasphemy! I believe in TWO languages!
View on Reddit #434373

Appropriate-Scene-95@reddit

C and?
View on Reddit #441915

DeProgrammer99@reddit

Yes. C and C#. :P
View on Reddit #441961

agrophobe@reddit

Hey, isn't this an allegory of the actualization of the ego facing the collective unconscious?
View on Reddit #441786

Cerbeh@reddit

`popular !== intelligent`
View on Reddit #441726

CaseoJKL@reddit

Well, it is.
View on Reddit #441291

Ionsus@reddit

Only dumb programmers think popular languages are intrinsically better
View on Reddit #441132

Jasinto-Leite@reddit

Java, I know it's bad, I'm just doing it, there are better languages than java, but I like old school, and probably after I have some experience on it, gonna move to another language, but being honest I shouldn't have picket for being my first language, was hard, but it's natural.
View on Reddit #441079

EternalNosferatu@reddit

Correction: Every programmer in a nutshell.
View on Reddit #441013

gepettow@reddit

Hey this is a picture from a book called “The art of choosing”, isn’t it?
View on Reddit #441002

planetarylaw@reddit

I use Matlab. Come at me.
View on Reddit #435845

StrangelyBrown@reddit

You're already coming at yourself.
View on Reddit #440920

OkCarpenter5773@reddit

with a few years in experience you can draw a properly scaled 3d graph
View on Reddit #437941

Merecat-litters@reddit

Me not a programmer : ah yes I understand what he said is !true Also me : just here for the meme
View on Reddit #440846

orsikbattlehammer@reddit

This sub literally only talks about programming languages
View on Reddit #440769

alexgraef@reddit

As long as every one looks down on JavaScript programmers, that's fine with me.
View on Reddit #440667

rldml@reddit

Really genius coders know their programming language is the most sucking one and the only reason that it work out for them is the massive intellect of themselfs...
View on Reddit #440577

MaybeACoder007@reddit

![gif](giphy|l0HlMDr5SOKGpNu5a) Oh my Coding Language. Everyone else’s is filled with holes…
View on Reddit #440394

suprmiikka@reddit

Well i do PHP and JavaSript so obviousy yes.
View on Reddit #440315

SerialForBreakfast@reddit

Swift is king. BOW DOWN.
View on Reddit #440263

Creeperassasin1212@reddit

C# my beloved
View on Reddit #440197

Conseqdbh@reddit

they want to use for their thought bubble.
View on Reddit #440039

michael31415926@reddit

I think it's the chauffeur driven guy who employs them all that's maybe not the smartest but the most savvy....
View on Reddit #440025

Spiritual-Image7125@reddit

My meme would be better than yours, if I had time to make memes....
View on Reddit #439896

AldoLagana@reddit

my language? jeebus the kids compare dick size in so many ways...it grows irksome.
View on Reddit #439649

hold_the_fuckup@reddit

If your language gets you bread, then it's probably the best language for you, but that doesn't mean it's the best language for everyone.
View on Reddit #439508

Metal-Due@reddit

.NET is really all you ever need
View on Reddit #438378

tetryds@reddit

If you cannot solve your problem quickly and efficiently with .NET oh boy you are f***
View on Reddit #439280

jaximus_downing@reddit

This is my copium everytime I see python devs
View on Reddit #439204

abilengarbra@reddit

Men in black, recruiting scene: https://miro.medium.com/v2/resize:fit:1778/1\*DHFaeq1jDMxcnUEjHnc3TQ.png
View on Reddit #439125

DarkfulLight@reddit

Machine code master race 👍
View on Reddit #438909

casualrocket@reddit

lol no, i am a js dev
View on Reddit #438771

CST1230@reddit

[original xkcd](https://xkcd.com/610/)
View on Reddit #438678

Ok-Transition7065@reddit

Why not js it's the best league, idk If I can say all the jokes from other countries without loosing his meaning I will say it's a good leanguage
View on Reddit #438600

AntiSocial_Vigilante@reddit

**depends**
View on Reddit #434132

MrDragon@reddit

Found the senior
View on Reddit #438558

Metal-Due@reddit

I’m convinced people just throw language terminology around out of boredom. Whenever people say they are “learning” a new language it means they looked at a youtube vid for 20 minutes then went back to the one language they *actually* know.
View on Reddit #438369

_Vicix@reddit

I mean my beloved COBOL is the best language, right?
View on Reddit #434370

kzlife76@reddit

Sure thing, grandpa. It's the best. Now, let's get you a pudding and take your meds.
View on Reddit #438275

z3n777@reddit

also because the language is the only thing that matters, forget logic , architecture and actual goals
View on Reddit #438269

JollyJuniper1993@reddit

Honestly I just hate on nerd languages like C++ on principle. Long live Python and C#
View on Reddit #438075

niky45@reddit

me, a noob: "oh, all languages have their value I guess, I'm just a noob doing python because it's what my job requires"
View on Reddit #437860

MetricJester@reddit

Don't go harping on my BASIC
View on Reddit #437378

GamingWithShaurya_YT@reddit

Yes hindi is the best
View on Reddit #437308

codemise@reddit

Do people really feel this way? I feel more like "Wow look at all these smart people knowing multiple languages. I should spend more time studying like them."
View on Reddit #437013

MaZeChpatCha@reddit

"jAvA bOiLeRpLaTe bAd☕"
View on Reddit #436984

SameRandomUsername@reddit

The joke is: they all "program" in HTML...
View on Reddit #436890

bananabajanana@reddit

The only code that matters: Lisp code
View on Reddit #436637

Kosmux@reddit

Scratch programmers, where are you at?
View on Reddit #436594

ecmascript_writer@reddit

"JAvaSCriPt iS aIDs"
View on Reddit #436381

nick_jr7@reddit

Javascript though
View on Reddit #436274

InFm0uS@reddit

Humankind in a nutshell, just replace "programming language" for religion, ideology, gaming platform, sports club, whatever you want. People are tribalist in nature, we just need to more common sense...
View on Reddit #436011

Low-Equipment-2621@reddit

There are many pros and cons to most languages. And then there is PHP, where we can all agree that it is just shit.
View on Reddit #435107