Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

masterspace, to asklemmy in Good “Buy for Life” Brands

Flexibility. A hardwired switch is choosing your lighting configuration at build time, but when you have light bulbs that can all be controlled individually through software, then you want a switch that can interact with that software.

For instance, let’s say you do something crazy and unprecedented like add a lamp to your room, with hardwired switches now you either have two switchs in two different spots to deal with every time you enter a room, or you need to call an electrician to wire up a switched plug. If your switch was instead a software switch you could just reprogram it to also control the lamp.

masterspace, (edited ) to asklemmy in Good “Buy for Life” Brands

The Anker Powerline 3 Usb C cables are amazing. 100W rated, nearly impossible to tangle and I’ve had no issue with them being used continuously for either my phone or laptops, including surviving a lot of falls, being pinched, run over by a desk chair, etc. I have two and would buy more but I’m waiting for USB C to up the max wattage before I do. The colors are also a nice touch.

masterspace, to asklemmy in Good “Buy for Life” Brands

American eagle jeans are under rated. Their stretch jeans have last me for years with the only issues being some wallet / cellphone lines, and an occasional hole in the pocket that needs patching.

masterspace, (edited ) to programmer_humor in The Holy Trinity of JavaScript

Using linters in a professional setting is more like moving all your actual employees into a different office and letting them use robot avatars in the original office who can never step on that landmine.

The benefit of this is that millions of other robots continue to depend on the original office being exactly as it is and many of them will never change or update, nor is their any need for them to.

Breaking backwards compatibility on the web needs much better reasoning than ‘I don’t want to use a linter’.

masterspace, (edited ) to programmer_humor in The Holy Trinity of JavaScript

The explanation given to you makes it sound like == was deliberately designed to be a more convenient version of ===

I mean technically == was deliberately designed to be a more convenient version of other languages’ == operator… Just specifically more convenient for light UI stuff since that was all JavaScript was supposed to be used for at the time (or all they thought it would be used for).

But give programmers a way to write and execute a small script and someone will eventually use that to try and write an emulator that emulates the computer it’s running on, so the web evolved into more complicated applications, and then that convenience turned out to be wildly inconvenient, not to mention horribly unexpected for programmers coming from other languages, so then they added the triple equality to match other languages.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #