• 0 Posts
  • 79 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle

  • Google could have done that from the spec though. Google is doing that with chromium despite the source being entirely available

    even agpl wouldn’t protect this tool in most cases if a company didn’t want to contribute back, since it’s probably just used in server side scripts and such. also companies aren’t required to upstream stuff, just make source available, which means hard to discover ftp site with a pile of code.

    sure something more copyleft is better for large, more commercial projects, but this in particular probably gets more patches from the extra use in the rust community from MIT than they would forcing companies to open source changes



















  • I’ve worked at several places that didn’t have formatters when I started. they did by the time I left. you can incrementally adopt them and if it’s automated most people at worst don’t care. advocate for things you want

    reassignment and hoisting are the significant ones. behavior around this does just seem more intuitive than otherwise when it comes up, so I think telling especially new devs to use const arrow fn everywhere but classes is a reasonable rule

    hate to break it to you but it behaves like a variable either way. function just behaves closer to a var variable. const fns are less like variables since no assignment. intellisense/devtools all show them just fine. it really is just a minor aesthetic difference on the definition