• 0 Posts
  • 30 Comments
Joined 1 year ago
cake
Cake day: August 27th, 2023

help-circle




  • I suspect/hope she’s not “against” using break and continue as much as trying to teach your brain to solve the type of problem at hand without relying on breaks.

    Like this

    const int JUST_THE_WORST_NUMBER = 13;
    
    for (int i = 0; i < 100; i++)
    {
        if (i % 2 == 0)
            continue;
    
        if (i >= JUST_THE_WORST_NUMBER)
            break;
    
        Console.WriteLine(i);
    }
    
    

    could effectively be rewritten like this, which I think actually is clearer in a way:

    const int JUST_THE_WORST_NUMBER = 13;
    foreach (int i in Enumerable.Range(0, 100).Where(i => i % 2 != 0).TakeWhile(i => i < JUST_THE_WORST_NUMBER))
    {
        Console.WriteLine(i);
    }
    
    

    Treat it as a thought exercise and just do it her way. Like someone else said, it’s also good practice at unhappily conforming to your organization’s standards and practices.





  • Because for them, it’s exhausting. If you’re a regular person who thinks of a computer as an appliance and you’ve learned how to use it by memorizing steps (click here, click that, that makes The Excel open) instead of understanding the system as a whole, you’re starting from so far behind the curve it would be like asking them to take a few semesters of night classes at a community college just to understand how this shit even works, let alone what to do about it. Fuck, I get tired of it, and I’m at least literate in the domain.

    Imagine trying to teach any exhausted mom or pop what a “cookie” even is at the end of a workday. Or to explain to someone why the social site they use to share pictures of their kids is evil. Or how that same social site puts an invisible dot on your computer that spies on you. Or why it’s really not in their best interest to have ads show them stuff they genuinely like. You’ll sound crazy! Absolutely paranoid. Facebook hasn’t come to my house with guns! Jesus! Now let me get back to the “news” here about how the other political party drinks blood from children.

    Even if you got them to wake up, so to speak, what are they going to do? Are the same kind of people that loved the cute purple gorilla Bonzi Buddy and thought it was normal to have 17 toolbars in Internet Explorer – are they really going to be just fine moving to Ubuntu? They’ll throw the whole machine in the trash the first time they need to call their ISP and get told “we don’t officially support Linux”. They’ll return it to the store as broken when their new printer doesn’t automatically work. (What the fuck is CUPS?)

    Throwing it all in the trash Ron Swanson-style is the other option – maybe a better one – except it isn’t an option at all. Because the web is so integral to doing any kind of business or banking now that you can’t just go full Walden Pond and function in society.


  • I’ll do one drastic, but not unthinkable, example. The Signal messenger source is on GitHub. You can’t imagine a single oppressive government out there that would be keenly interested knowing who in their country is interacting with it? Or maybe you haven’t noticed that there are a lot of countries not too keen on encryption, trying to backdoor everything or just straight-up outlaw encryption. This isn’t just about a single login box. “Who’s looking at what” is the kind of surveillance that blacklists thrive on.

    And please don’t come back with “then use a fake email”. Once you’re that far gone, you’re definitely breaking a user’s “core experience”.