• 0 Posts
  • 9 Comments
Joined 9 months ago
cake
Cake day: January 5th, 2024

help-circle



  • I firmly believe that every language has an equal proportion of spaghetti code to clean code. The only factor that might screw with this is how much a language is used in industry, which I’d expect raises the ratio. However, there’s plenty of hobbyists writing spaghetti code too so I don’t think even that factor has much effect.




  • It makes sense, if I remember correctly the older USB cable (i.e. everything before Type-C) are passive, so as long as the pins are wired symmetrically it wouldn’t matter which side is which. But whoever made your keyboard really blundered, there is no reason in the world why anyone would do this. There’s so many options: the B connector, mini USB, micro USB. All would make sense to put in the keyboard. A just doesn’t.

    Let me guess: you got it from an ultra cheap online store? AliExpress/Wish/Temu?


  • I think the biggest problem I see with A to A is: who’s delivering power, and who’s receiving it? Maybe if you use it only with the device it came with then it’ll be fine, but if anyone tries to just hook up that cable to two random computers, it might actually cause a short circuit and fry something.

    Whereas Type-C was explicitly made to handle such situations.

    Or a shorter reason: Type-C cable is allowed by the spec while Type-A is not.