Show newer

C++ 

what if you had a language that passed all variables by value instead of by reference meaning that declarative passing of objects to other functions results in often-expensive copy operations for the arguments to and return value of each function call. so we use pointers for everything. except explicit pointer logic is extremely error prone so instead we should use objects which handle the pointer logic for us. also we need to invent references, which are like pointers but they're different, and add implicit conversion of objects to their references to the 1998 update to the language specification so you can pass these wrapper objects to functions without copies now. but also we need to invent rvalue references so you can pass rvalues to functions as well. btw do you know what an rvalue is? oops wait, these rvalue references so happen to fuck the taxonomy of value categories for the language so now you need to know what an xvalue is teehee

@Lady after extremely careful deliberation over the "value category" page on cppreference i have come to the conclusion that it is also sufficient for C++

All of this fucking value category bullshit only to realize that the reference operator (&) is valid for lvalues and throws when used on rvalues. This is a valid definition.

C++ 

i deeply regret to inform that i have started to enjoy the language now that i've learned some things about it.

only a little bit though.

:

re: baldur's gate 3, spoilers 

on that note, it is a shame that the dark justiciar armor is so badass given that narratively it feels wrong to wear anymore

Show thread

baldur's gate 3 

when the armor is amazing but also is really fucking ugly

re: baldur's gate 3, spoilers aescling 

@coriander oh shit that's why she has his necklace in her basement :'(

re: baldur's gate 3, spoilers aescling 

@coriander as if experience weren't a good thing

re: baldur's gate 3, spoilers aescling 

@coriander i'm still mad that you can fuck a mind flayer but you can't fuck jaheira

baldur's gate 3 

the secret to getting jaheira's approval is to call her old apparently

@coriander you should listen to pop out and opi babi from the new carti album, your reaction would be funny

re: baldur's gate 3, minor spoilers 

@Lady @alyssa i didn't realize a non-party leader could get it if they were the one who talked to boney

baldur's gate 3, all caps 

I JUST ROLLED A 1 THREE FUCKING TIMES IN A ROW WHAT THE ACTUAL FUCK

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.