• 0 Posts
  • 24 Comments
Joined 2 years ago
cake
Cake day: June 26th, 2023

help-circle



  • vithigar@lemmy.catoProgrammer Humor@lemmy.mlWhat the F#
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    4 months ago

    i is still a value type, that never changes. Which highlights another issue I have with the explanation as provided. Using the word “reference” in a confusing way. Anonymous methods capture their enclosing scope, so i simply remains in-scope for all calls to those functions, and all those functions share the same enclosing scope. It never changes from being a value type.








  • For those of you who’ve never experienced the joy of PowerBuilder, this could often happen in their IDE due to debug mode actually altering the state of some variables.

    More specifically, if you watched a variable or property then it would be initialised to a default value by the debugger if it didn’t already exist, so any errors that were happening due to null values/references would just magically stop.

    Another fun one that made debugging difficult, “local” scoping is shared between multiple instances of the same event. So if you had, say, a mouse move event that fired ten times as the cursor transited a row and in that event you set something like integer li_current_x = xpos the most recent assignment would quash the value of li_current_x in every instance of that event that was currently executing.




  • I’m all for more people switching to linux, but a lot of your windows issues sound less like windows issues and more like your specific installation is messed up somehow issues.

    One thing I will mention though is that Windows does have native per-application volume control, you don’t need to install EarTrumpet. You can right-click the system tray volume icon and open the mixer, or just search for “volume mixer” in the start menu.






  • Neither of those points invalidate the idea presented.

    Just because it’s not a uniform distribution doesn’t mean the average changes. Most people learning a thing earlier in life doesn’t change the average rate. Even if literally every single person learned a given fact on their ninth birthday, that still averages out to the same rate.

    As for your second point, you’re conflating “things everyone knows” with “knowing everything”. Obviously people who are 80 still don’t know everything, but it’s not unreasonable to assume they share a pool of common knowledge most of which was accumulated in their early life.

    And even if both of those things were valid criticisms, the thing you’re calling out as “inaccurate pseudoscience” is the suggestion that people shouldn’t be ridiculed for not knowing things, rather we should enjoy the opportunity to share knowledge.