As a c++ professor, I would never lie to my students like this.
C++ lets you assign variables with <%%> in case your parents were killed by an equals sign.

What is happening there?
Is it about templates? I can’t find any reference for that syntax.
I mixed digraphs and initilization together.
Oh, I didn’t know about digraphs at all. C++ is a really big language.
And wow, that’s a well hidden footgun.
Feels like this thing should require an extra flag in case of
gccin this day and age, or a separate compile-time defined variable, specifically for cases where you don’t want to require the flag.To be fair, the biggest footguns are the trigraphs, and now that I tested those do require a flag in gcc.
The digraphs are just hard to search, never used operator symbols.
Never c++
I hate C++ so much
Programming in C++ is downright horrifying to me after trying other languages. The way it does generics is fucked up on so many levels…
C++ is a great language it you refrain from using 70% of its features.
I am trans
Do i need to learn rust?
I’m a rust developer, do I need to transition?
To both of you a clear yes!
I am a C++ developer, learning Rust.
Do I eventually get all of them?Learn assembly and you can DIY your gender.
I have already done 8085 and ARM6 (or was it 5?).
How many more do I need?Guess I’ll need RISC V for a FOSS gender, but I also like performance and am not sure if it completely envelopes x64 performance.
RemindMe! 2 years
Good read, thanks
But I believe in generics, just write your functions so that it can work with all the types ;)
translation: Just get rid of what is a boy or a girl thing. Just let people do what they like.
The idea of abolishing all gendering of things is a curiously contested one within LGBT+ spaces, as far as I can see.
I can understand how people wishing to be identified a certain way have a vested interest in the existence of markers for that identity.
On the other hand, I wish painting my nails wasn’t fem-coded on some level. Of course guys can do so too, but the only “guy” I knew who did so regularly eventually turned out not to be a guy, which doesn’t exactly help me ignore that connotation.
I can understand people wanting markers. But maybe we have like 10-20 markers and someone having 5-6 from the other side is not weird. Like if someone is presenting as a girl completely and is not, they could just reply with “oh, I’m a guy, I just dressed as a girl today” and people would be like “that’s fun” instead of being weirded out.
Like long hair/short hair for example. Or how girls wearing pants is normal now.
In my case, my culture does have people cross dressing during certain events so it’s not as ostracized. But that could also be because people didn’t actually think about wanting to be the other gender but just dressing up for one occasion.
Few fun things:
- My parents wanted a daughter but had me,
- my nickname at home was a girl’s name version of my name,
- only children close to my age and vicinity growing up were girls so I grew up playing “girl” games,
- my mom didn’t stop me from painting my nails, or putting makeup or anything as a child. (I still paint my nails black sometimes),
- In highschool I was the only guy among the group of students with nails too long on a biology lab,
- a guy friend once told me I walk gay (I didn’t even know that was a thing?)
- I don’t watch sports, so I don’t have many common things to talk to guys as much,
- Good friends I had (guys) were based on either common interests (programming, philosophy, etc) or other nerds. And when I don’t have those and only friends are based on proximity then I don’t have as many things in common.
All those considered I’m still a guy, I just don’t care about being “manly”, and just do things that interests me. Plus lots of the things people do to be manly seems to just make them spend even more time with other guys lol. And although I don’t want to do a lot of things that are for each genders, I just wish everyone was chill about doing whatever someone likes. Or for someone to just try it out to see if they like it not, instead of thinking “that’s what X do, I won’t do it”.
#include <delusion>delusion was added in C++24 and we are stuck in C++03 😭
error: expected primary-expression before '=' token 1 | #define GIRLFRIEND = NULL | ^
Am a trans Rust developer. Can confirm.
Whew! Thankfully I’m a gay JavaScript user
everybody on the internet is a javascript user! do you even develop, bro?
Is that why people keep calling each other gay online?
They’re putting scripting in the webpages, that TURNS THE FRICKEN USERS GAY
What do I get as PHP Developer?
A beating on a good day.
RStudio and SQL are the only ones of those things I’m aware of having experience with (no idea what language rimworld is coded in, but I’ve also only read that, not tried to modify it).
But if some dude wanted to spend a bunch of time and energy to teach me all about their burning passion language or whatever, that’d be pretty hot. Maybe not JavaScript… ;)
Not in a “dick me down immediately” sort of way, ofc, but in a “mmmm sexy brain and sexy willingness to teach complicated stuff” sort of way. And really to me that’s a solid spring-board to “dick me down immediately” territory.
I second this. This is how I got my wife to like me.
Be careful not to go overboard though, my wife, during the first few weeks, thought I might be hacking into her phone because I was tech savvy and we had too many weird things in common.
deleted by creator
Sorry I forgot to respond.
The thing that triggered it was when I shared an xkcd link. I have seen it a lot here but I guess it’s niche. And knowing about tardigrades, and many weird biology knowledge about bugs, bacteria, and such. We’re both super nerdy about science, but at the same time we hadn’t met anyone else be this nerdy about science in real life.
deleted by creator
SQL enjoyer?
Every time I use it I feels like I’m going back to the 90s. No variables, no functions; Oh but you can do a CTE or subquery…👍
UNION ALL, UNION ALL, UNION ALL… “There’s got to be a better way, surely…”
looks up better way
“Oh, what the fuck?!.. Nope, this will just be quicker…” UNION ALL, UNION ALL, UNION ALL…
Join in a table sharing column names… Everything breaks. You gotta put the new prefixes in front of all the headers you called in now. In every select, in every where, etc… Which is weird because that kinda works like a variable and it’s fine…
“When you see this little piece of text, it means all this, got it?”
“Okay. Yep. Easy.”
“So why can’t you do that with expressions?”
SQL SCREAMS MANICALLY
“Okay, okay, okay!.. Jesus…”
And then you try put a MAX in a where and it won’t let you because you gotta pull all the maxes out in their own query, make a table, join them in, and use them like a filter…
I hate it. It has speed, when you can finally run the script, but everything up to that is so…ugh.
Personally I feel like SQL syntax is upside down, and things are used before they are defined.
SELECT a.id -- what the fuck is a? , a.name , b.city -- and b?? from users a -- oh join city b on a.id = b.user_id -- oh here's bI’d expect it to instead be like
From users a join city b on a.id = b.user_id SELECT a.id, a.name, b.cityWell, in this case
aandbare only aliases of table names, and it is assumed that tables were already “defined”, i.e. they already exist. And aliases in my opinion are meant to shorten long table names, or give a name that will be more appropriate in the context of the query, considering more than tables names can be aliased, at least that’s how I’m using them. But they still have to be descriptive enough so it’s clear what kind of data we are working with without the need to look for what they are actually aliasing in advance. In your example if the table was namedusers_who_won_the_company_lottery(intentionally bad name) then aliasing it asusersor even aswinnerswill be nice, even necessary, and you do not have to ask "What the fuck iswinners?For me, although I have seen a lot of people do this in SQL in real scenarios, using
aandbin SQL is not a bad practice, it’s a terrible practice. Feels like using them in function declarations in other programming languages, like doing a function declaration in C, at the top of the file like that:int some_func(char a, bool b, char *c);And letting whoever has to read the code after you go look at the definition and figure out by themselves what any of that is supposed to mean.
Or naming your variables
a,b,c, etc.Aliases are meant to improve readability imo, not worsen it.







