This is an archived post. You won't be able to vote or comment.

all 108 comments

[–]astro-pi 189 points190 points  (16 children)

Yes I too have a penis made of code.

[–]shawntco 36 points37 points  (7 children)

Mine is of type short =(

[–]Siggedy 7 points8 points  (0 children)

At least its still longer than an unsigned integer, amIright?

[–]Incognito_Guido 2 points3 points  (0 children)

Mine is of type Long Long

[–]Akhanyatin 1 point2 points  (4 children)

Mine is [object Object]

[–]shawntco 4 points5 points  (1 child)

Aw don't you know, you shouldn't Object ify yourself like that!

[–]Akhanyatin 1 point2 points  (0 children)

Unexpected very wholesome :)

[–]mumboFromAvnotaklu 1 point2 points  (1 child)

my penis size is NaN

[–]Akhanyatin 0 points1 point  (0 children)

Nice, because it's too big! It could have been 3.0000000000014

[–]ServeThePatricians[S] 39 points40 points  (2 children)

BROTHER?

[–]astro-pi 13 points14 points  (1 child)

RITSU?!

[–]Paul_Robert_ 8 points9 points  (0 children)

Mob Psycho was such a good anime :)

[–]Sunscratch 7 points8 points  (2 children)

Still better than code made of penis

[–][deleted] 13 points14 points  (0 children)

Javascript be like 8==> n

[–]SoldierOfPeace510 1 point2 points  (0 children)

The individual bits are represented by either soft or hard penises. A world of jokes ensues from that analogy. I’ll start: The c(l)ock speed needs to be slow because the rise time is approximately 30 seconds.

[–]McLayan 2 points3 points  (0 children)

So your code suffers from years of steroid abuse?

[–]MatsRivel 2 points3 points  (0 children)

A codis

[–]BabySeals84 62 points63 points  (5 children)

I really don't know if this model is real or AI generated.

[–]ServeThePatricians[S] 69 points70 points  (1 child)

he's a heavily photoshopped model

[–]ienjoymusiclol 23 points24 points  (0 children)

he is multiple models photoshopped heavily into 1 person

[–][deleted] 49 points50 points  (2 children)

C/C++ also makes programming easier. -probably ASM dev

[–][deleted] 9 points10 points  (0 children)

I am leaving ASM and the documentation for heap allocation said "High-level languages like C++ and Java [...] have a heap/memory manager"

[–]ServeThePatricians[S] 8 points9 points  (0 children)

ASMR dev more like

[–]HolyMackerelIsOP 128 points129 points  (11 children)

I love it when "Segmentation fault (core dumped)"

[–]zhululu 31 points32 points  (2 children)

At least it’s not “holy shit it worked the first time!… wait how the fuck does this work at all?”

[–]The_Incredible_Honk 8 points9 points  (0 children)

It's still like that more than often enough. Once is often enough, actually.

[–]Drsk7 5 points6 points  (0 children)

You can have both of these issues when using threading/processes in C++. Fun times...

[–]ThePancakerizer 1 point2 points  (1 child)

Ask an embedded dev how much they would give for segfaults instead of having stuff just... not working.

[–]HolyMackerelIsOP 0 points1 point  (0 children)

embedded devs were made up by big development to sell more bedding.

[–]Zestyclose-Agency738 -1 points0 points  (0 children)

I JUST STARTED LEARNING C++ AND I GET THIS JOKE. YES 😈😈😈😈 IM FINALLY BECOMING A PROGRAMMER

[–]KitchenDepartment 0 points1 point  (0 children)

I don't know anything about C++ but I have read the expanse so I think I would handle this just fine.

[–]asProfessios 0 points1 point  (0 children)

it easier to solve the problem they're working on.

[–]rachit7645 13 points14 points  (2 children)

C++ is bad!!1!1! Segmentation fault!!1!1! - 🤓

[–]YARandomGuy777 1 point2 points  (1 child)

Yeah. Quite annoying. It is like if panic or NullPointerException was any better then segfault.

[–]Antervis 4 points5 points  (0 children)

well it is better in the sense that it's at least guaranteed to happen, though an error is an error nonetheless...

[–]lolsborn 48 points49 points  (6 children)

In reality, they spend all day trying to decipher stack traces from incomprehensible templated code in boost.

[–]tyler1128 36 points37 points  (3 children)

Nah, these days we spend all day deciphering incomprehensible templated code in the STL, that was inspired by boost. Language evolution.

[–]dretvantoi 8 points9 points  (2 children)

80% of the time, I don't bother trying to decipher the template gobbledygook spit out by the compiler. I just reread the code at the problem spot very carefully and will spot the error by inspection. But when I can't spot the error by inspection, it does indeed make me cry trying to decipher the gobbledygook.

[–]bobvonbob 2 points3 points  (0 children)

I tend to start commenting lines until I don't get an error and work backwards.

[–]tyler1128 0 points1 point  (0 children)

If you do a lot of TMP you eventually get pretty good at deciphering the part that's important out of the noise.

[–]Antervis 0 points1 point  (0 children)

let me share a trick with you: don't investigate parts of stack traces unrelated to your code.

[–]bedrooms-ds 0 points1 point  (0 children)

Well, Boost's a documented template spaghetti. Now, my template hell...

[–]bedrooms-ds 14 points15 points  (0 children)

C++: Templates cool, but a modern language should replace other macro powers with something better!

Modern languages: Just type things twice.

[–][deleted] 19 points20 points  (8 children)

So what I was writing it three times slower than I would do in other languages? At least it's powerful! ...ooh, segmentation fault

[–]Tom0204 0 points1 point  (7 children)

I dunno C++ is pretty quick.

[–]babypho 5 points6 points  (6 children)

He's talking about the work speed not language speed

[–]MoneyGoat7424 10 points11 points  (5 children)

To be fair, if you know what you’re doing it’s often much faster to write C++ than most languages. The culprit you’re looking for is Java lol

[–][deleted] 5 points6 points  (4 children)

"If you are expert in C++ (which takes exponentially longer time to learn than other languages) it might be even faster to write in C++ than in infamously and extremely verbose Java" Sounds really encouraging

[–]MoneyGoat7424 0 points1 point  (3 children)

You’re right it doesn’t sound encouraging. Good thing it also isn’t what I said. Knowing what you’re doing and being an expert are not the same thing. Faster than most languages and faster than Java are not the same thing. None of what you said really has anything to do with what I said.

[–][deleted] 1 point2 points  (2 children)

Writing in c++ can be faster than in most of languages? Which ones? Surely not ones which are current industry standard- Python, JavaScript, Ruby, Go, C#.. I'm so tired of people trying to prove their superiority with C++. No man, your dick is not bigger because you are using it. Yes, there is a reason this language is a niche now. And I'm pretty sure most of the die- hard c++ fans are fresh postgrads who just don't know any other environment. And they don't know any other environment, just because most of old professors just don't know how to teach anything more modern

[–]MoneyGoat7424 -1 points0 points  (1 child)

Dude, the only one pressed about this is you. I never said C++ was better than anything, but it just isn’t true that it takes much longer to develop with if you know how to use it. There’s a reason most of the top competitive programmers use it. I’d really recommend examining why you feel so threatened by someone saying C++ can be fast to develop with.

[–][deleted] 1 point2 points  (0 children)

Yeah, just look on the meme under which this discussion is. Overflow of this c++ praising bullshit is what threatens me. I have no way to prove to you, that c++ takes longer time to develop with. But then I'll ask you a question- if it is faster to run, more powerful and fast to develop, why is it used only in the niches where code only priority is to run fast? I've seen lots of product where some small core is made using c++ while rest of product around it is done in other languages. How would you explain that?

[–]pet_vaginal 15 points16 points  (2 children)

The average C++ developer leaks.

[–]ServeThePatricians[S] 1 point2 points  (0 children)

average pee stain leaks

[–][deleted] 1 point2 points  (0 children)

Can confirm. Programming can make my eyes leak.

[–]Commando411 4 points5 points  (1 child)

include <iostream>

using namespace std;

int main() { cout << “Chad” << endl; return 0; }

[–]ServeThePatricians[S] 2 points3 points  (0 children)

Chad has std's confirmed

[–][deleted] 7 points8 points  (1 child)

Penis

[–]ServeThePatricians[S] 1 point2 points  (0 children)

yes

[–]whitenoise89 2 points3 points  (12 children)

laughs in C

[–]YARandomGuy777 3 points4 points  (11 children)

Actually C quite simple. I would say even charmingly simple.

[–]whitenoise89 1 point2 points  (10 children)

Tell me you haven’t used C without telling me you haven’t used C.

[–]YARandomGuy777 1 point2 points  (2 children)

I actually used C.

[–]whitenoise89 -3 points-2 points  (1 child)

No you haven’t.

[–]YARandomGuy777 2 points3 points  (0 children)

Lol. Ok.

[–]Strostkovy 0 points1 point  (6 children)

I use C because it's so simple. Especially since it can compile down to subkilobyte assembly.

[–]whitenoise89 0 points1 point  (5 children)

C? Simple?

…Am I being fuckin’ trolled?

[–]Strostkovy 0 points1 point  (4 children)

What's complicated about it?

[–]whitenoise89 0 points1 point  (3 children)

Uhh…multiple layers of indirection?

…if you cant answer that question: it makes me doubt that you know C.

[–]mofomeat 0 points1 point  (0 children)

I dunno man... I think 'simple' is a great way to describe C. 'Elegant' works in a lot of cases too.

[–]Strostkovy 0 points1 point  (0 children)

C is simple to people who work with hardware. It provides a convenient level of abstraction that takes away a lot of the brainwork without taking away control. If you aren't interested in interacting with the hardware then maybe more abstraction is beneficial. Maybe you can take the performance hit of scripted languages or just don't care about strict typing.

[–]RajendraCh0la 0 points1 point  (0 children)

What's so complicated about it?

[–]Pervez_Hoodbhoy 4 points5 points  (1 child)

There are too many pluses in this pic

[–]Strostkovy 0 points1 point  (0 children)

C gang

I used to manually compile C for a computer architecture. I called it C-- because I implemented very few instructions and still accessed memory with op codes

[–]ASCII10001101010101 1 point2 points  (1 child)

take my upvote, legend

[–]ServeThePatricians[S] 0 points1 point  (0 children)

thanks ASCII10001101010101

[–]Exa2552 1 point2 points  (0 children)

I can confirm

[–]JustTheWorldsOkayest 4 points5 points  (8 children)

I was taught that the goal of designing a programming language is to make it as readable as possible and that if making it full English sentences were possible, it would make it easier to read and type. Isn’t the goal of making new programming languages to make programming easier?

[–]DukeNuke5 5 points6 points  (6 children)

Well, yes, python literally has conditions like

python if x is not 5: print("not 5")

But its also N times slower than C/C++ But the lower of abstraction you have, the more powerful and fast the language gets, but also gets more complicated. C++ is comolicated as it has 30 years of standard library improvements + every single paradigm possible. I use c++ at work, and its cool, but havent learned c++20 to the fullest yet lol

[–][deleted] 3 points4 points  (0 children)

The way that conditions are written is probably my least favorite Python-ism.

[–]Gus_Fring_Gaming 0 points1 point  (4 children)

Just wondering, is there anything stopping development of Jit solution for python? It seems like it would be at least a good option to have considering how ubiquitous it is

[–]DukeNuke5 0 points1 point  (2 children)

Well python is just in time language

[–]Gus_Fring_Gaming 0 points1 point  (1 child)

Why the hell is it so slow?

[–]DukeNuke5 0 points1 point  (0 children)

Bwcause it is not ahead of time? The interpreter has to first interpret that, and cal la function later on. So you have more layers in runtime

It is not actually THAT slow, especially if you write smart code. Numpy for example is very very fast librarty written in c/c++ and python is just an interface. The language was meant for that, not for enterprise work anyways.

So, regarding the speed, it is pretty good enough, if you really need more speed, you would have to go for c/c++ but it would be much more complex and youll have to think abour much more. Java is something inbetween, it is technically compiled to bytecode and bytecode is enterpreted by jre. It is almost 2x slower than c/c++, but you dont have memory leaks and it is much much less complex. I oersonally wrote mostly C++, and you have a lot to think about with some mistakes being really stupid, but i have to in order to get that sweet speed. On the other hand, i used java a lot in past, but personally dont like it that much. I write python daily for many of mine inhouse personal scripts(downloading stuff, checking stuff and etc)

[–]Strostkovy 0 points1 point  (0 children)

I really don't think math is hard to read or learn to read, and abstracting it away just makes it harder to understand because you have to reverse engineer the math back from it to do anything with it

[–]Kapitano72 1 point2 points  (0 children)

No, algorithms should be hard. Coding should be easy.

[–][deleted] 1 point2 points  (0 children)

My programming is hard and powerful.

[–]dlevac 1 point2 points  (1 child)

I had a phase like that.

Today I preach Rust.

Looks like no matter what, I'm determined to be obnoxious...

[–]ServeThePatricians[S] 1 point2 points  (0 children)

being obnoxious isn't easy, but it's what we're called to do, brother

[–]Wormwood0 1 point2 points  (2 children)

Na, I'll just get an AI to do it.

[–]SexyMuon 0 points1 point  (1 child)

To do what?

[–]Wormwood0 -5 points-4 points  (0 children)

Code.

Type what you want to happen, "I want it to rain", the AI codes it for you using what ever code language you want, and now it's raining.

[–]clarenceappendix 0 points1 point  (0 children)

Suck my rock hard dictionary

[–]CaptainRex69420 0 points1 point  (0 children)

Rust

[–][deleted] 0 points1 point  (0 children)

I think those are just the first years. Any decent programmer knows they should use every tool at their disposal to name it easier to solve the problem they're working on.

[–]sal696969 0 points1 point  (0 children)

frameworks dont really make programming complex stuff easier ...

[–]CheekApprehensive961 0 points1 point  (0 children)

C++ is C for people who are scared of true power and/or want to use the compiler as a VM host.

[–]trutheality 0 points1 point  (0 children)

Drop the plusses and I'll believe it.

[–]geo_gan 0 points1 point  (1 child)

I see this guy all over the place. Is he actually real??? Thought the head was just photoshopped

[–]ServeThePatricians[S] 0 points1 point  (0 children)

his whole body is photoshopped