❤️☭ Kinsey ☭❤️ is a user on cybre.space. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
❤️☭ Kinsey ☭❤️ @kinsey

me learning about C++:

who the << fuck << thought << this << was << a << good << idea << '\n'

· Web · 1 · 9

@kinsey People who wanted to be able to combine binary and string data into single streams for storage and recall.

C: printf("Hello world\n");
me: ah, okay, i can understand that
C++: cout << "Hello world" << endl
me: the FUCK did you just call me

computers Show more

computers Show more

@kinsey I prefer to use printf in C++ for the reason that cout is ridiculous

@kinsey I love this syntax. If the compiler warnings would be better I only would write c++ :D

@kinsey operator overloading is evil in every language TBH.

In C++, it's just one of very many evils, so everyone using it accepts it as kind of normal. Poor souls.

@lupine @kinsey Operator overloading done properly is not evil and I will fight you.

Which is easier to read:
Java: myString.equals(otherString)
Kotlin: myString == otherString

Java: complex.add(otherNum)
Kotlin: compex + otherNum

Not evil!

@PrincessRaspberry @kinsey the idea that strings might not be a core part of the language is also evil :-D. I guess overloading might be the lesser of the two