I’m a staff software engineer at Sunrun, the USA’s largest residential solar installer.

I mostly work with kotlin, but also java, python, ruby, javascript, typescript. My hobby is picking up new hobbies. Currently bird photography and camping.

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

help-circle



  • It’s pretty hard to fit all of what you just said into a meme. For example your meme does not say that windows users are “dismissing any alternative out of hand”. It says windows users that refuse to switch. Maybe they hate windows but they literally must use Fusion 360 or AutoDesk or Meshmixer or RealityCapture or one of the numerous other software options that just do not work on windows.

    Anyway, if what your meme is actually about is people that only use the browser and then refuse to switch but still constantly complain then yeah you’re dead on.

















  • Anything but the last one. Don’t duplicate the http code in the body, else you’re now maintaining something you don’t need to maintain.

    I’m not a fan of codes that repeat information in the body either, but I think if you had used a different example like “INVALID_BLAH” or something then the message covered what was invalid, then it would be fine. Like someone else said, the error data should be in an object as well, so that you don’t have to use polymorphism to figure out whether it’s an error or not. That also allows partially complete responses, e.g. data returns, along with an error.