Follow

me learning about C++:

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

@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 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

Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway

jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal