• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle




  • We usually know O’Reilley as that one annoying website that opens up with minimal information and a pointer to some chapter in some book of theirs that you need to buy to solve the question you asked

    In all seriousness, people do know it exists but free/cheap online educational content is surprisingly accessible now so nobody really migrates towards textbooks anymore. Although I do admit that occasionally books have a lot of useful information that is very hard to obtain otherwise



  • I’m all for using vim or Emacs or whatever, and I agree that not having a dependency on a specific editing software is a great thing.

    But since when did using VSCode enforce the decision on other members of the team? VSC is just going to integrate it’s features with whatever build system you are using. It doesn’t enforce any particular build tool in any project. You can use NPM, yarn. PNPM, whatever the fuck else lol… Nobody needs to maintain multiple build systems to support VSC because it is also just a text editor, albeit a bloated one. Yes, if you install all the fancy extensions to integrate VSCode with your project, it will be a heavy app, and that’s a problem. But if you want your barebones editor, just don’t install any extensions? I’ve been in projects where I’ll be using VSC while someone else will be using Vim and that one dude will be using webstorm or something. It works. There is no MicrosoftTM build tool lockdown going on.

    I know vim is still far less resource intensive than code but outside of very specific use cases, I’ve never seen any modern computer struggle with running code, especially without the extensions… It’s equivalent to opening an extra chrome window, I’m sure most computers can handle that lol.

    End of the day the best tool is whatever lets you personally write code faster, and for some of us that happens to be VS Code


  • I love dart’s approach to getter and setter methods… They let you define methods labelled explicitly as “get” or “set” methods that you can call without writing the parentheses. So the call looks like accessing a member variable, but internally it can handle additional functionality like logging or validation or whatever you want. So the syntax would look like the first example in the meme, but with all the benefits of the second example. I wish more languages would incorporate this










  • Man when I first realised that Relay for Reddit is still working, I legit thought that Reddit’s strategy was to just scare people into shutting down third party apps without wasting a dime on actually upgrading their API lol

    Meanwhile half the subs have gone into protest mode in all sorts of ways… My favorite is r/madlads who gave all users mod privileges, in true madlads fashion

    Edit: can you link to a resource explaining the custom patching thing? Sounds interesting, might try it out