Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DU
Duralf @lemmy.world
Posts 0
Comments 24
advanced
  • I think you missed the whole point of my comment 😂. Regardless, the time spent compiling a small snippet of code is completely negligible. In the end, both #if 0 and if (false) have their complimentary uses.

  • the "good" parts
  • The problem is everyone disagrees on what part of C++ is good... Some like C+classes. Some like intense meta programming and some like functional programming and all are valid C++ that people advocate for.

  • Tests are code too
  • API from a call that accepted integer values between 0 and 32767 (minimum and maximum wheel speeds) to one that accepted float values between 0.0 and 1.0.

    This would cause alarm bells to ring in my head for sure. If I did something like that I would make a new type that was definitely not implicitly castable to or from the old type. Definitely not a raw integer or float type.

  • Jobbar ni på plats eller hemifrån?
  • Jobbar hemma en dag i veckan och annars pendlar jag med buss. Tar en halvtimme på vart håll (mer om det är trafikolyckor vilket det ofta är). Helt ok tycker jag. Det är ganska trevligt att sitta på bussen och läsa eller något liknande.