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

help-circle

  • I’d love to see a source, I have literally never had the internal flap break and I must have had at least 30-40 devices pass through my hands with USB C by now

    Everything from a cheap Chinese brand wireless mouse up to my main phones (which are constantly plugged in and out) to all the random laptops, tablets, Xbox controllers and other peripherals in between.

    It’s never happened, though crud does build up in my phone port after a year or 2 to the point that I have to clean it out, but that’s nothing but a small paper clip and 5 minutes




  • When passing or storing data in code you usually have to specify what type of data is it. An int is an integer, so numbers, there’s also boolean (true/false) and many others. There’s also string which is just characters of any kind (for the most part) which pretty much makes it a catch-all, since numbers can be a string along with letters and special characters.

    But to use a number as a number after it’s been received as a string it has to be converted to an int, which means extra code, more effort, more failure points etc etc.