• 0 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle




  • By that same logic, can Russia ask Japan to extradite a US citizen because they advocated for LGBTQ+ rights while they were in South Korea? Because that’s basically what’s happening here, I just swapped the offence and the countries involved.

    Dude isn’t a US person, wasn’t in the US when he committed the alleged crime, and said alleged crime isn’t a crime where he allegedly committed it. US law isn’t world law.

    EVEN IF the guy might’ve been rapist asshole (allegations were fishy as heck), this extradition proceeding is a gross overreach by the US, and the UK should have laughed it out of court. If a country has any leg to stand on regarding extradition, it’s Sweden (I think that’s where he was when he committed all the alleged crimes, both the sexual ones and the wikileaks ones).


  • shove some text into stdout

    That’s not what this operator does normally, and if you try to “shove” something into anything else (an int into a variable? a function into an object?) you’ll get surprises… Basically it’s “special” and nothing else in the language behaves like it. Learning hello world in C++ teaches you absolutely nothing useful about the language, because it doesn’t generalize.

    C, in contrast, has many instances of complex functions like printf (another commenter mentioned variable arguments), and learning to call a function is something very useful that generalizes well to the rest of the language. You also learn early enough that each different function has its own “user manual” of how to use it, but it’s still just a function call.


  • this std::cout << "hello world" bullshit is in no way intuitive. You’re using the bit-shift operator to output stuff to the console? WTF? Why 2 colons? What is cout? And then these guys go on to complain about JS being weird…

    No, C is where it’s at: printf("hello world"); is just a function call, like all the other things you do in C.






  • I use Canadian Multilingual on a ISO-style keyboard, mostly because my main language is French and typing accents on a US keyboard is horrible.

    Coding makes a hefty use of Alt (“option” on mac), but they’re relatively well-placed (see the labels on the bottom-right of the keys in the pic)

    My main annoyance with it is that the ANSI-style keyboard puts “ù” to the left of “1”, instead of the “/” you get on that key on a ISO keyboard (where ù is between the left shift and z). You can see how annoying this would be when programming or using the command-line. And of course, Apple stores only stock MacBooks with ANSI keyboards…