• 2 Posts
  • 396 Comments
Joined 2 years ago
cake
Cake day: July 31st, 2023

help-circle


  • You’re not giving capitalism enough credit. Corporations and businesses are not altruistic. If they can get away with slowly raising prices to increase profit margins, they will.

    That’s a hell of a lot easier to actually achieve when you don’t have foreign produce acting as competition and consequently sanity-checking domestic prices. Foreign suppliers implicitly set a ceiling for how much a product can cost since the market would shift to using them if they became the cheaper option.

    To make matters worse, tariffs are a very nice excuse for retailers to raise prices across the board using the excuse that “it costs us more to get it, so it has to cost you more to buy it.” If we’re lucky, they’ll raise foreign goods by the exact amount they’re paying more for them and only choose to raise domestic good prices (for profit) by only some fraction of that amount.





  • JavaScript was a mistake, but this is one of the few things they did correctly. Implicitly importing everything from a package into the current scope makes it difficult to follow where variables or functions come from, and it’s prone to cause problems when two packages export the same identifier.

    If you’re an absolute masochist, there’s always a workaround. Against all best practices, you can use the deprecated with statement. Or, you can Object.assign() the packages into the global object like a monster. Or if you’re using node, you can use the node:vm module to create a new V8 context with its own global object of your choosing.