Jay Bazuzi
JayBazuzi@mastodon.online
<p>'s the name, refactoring's the game. Software Developer & Technical Coach. </p><p>๐ต๐ธโก๏ธ๐๐ฆ๐น๐ด๓ ง๓ ข๓ ฅ๓ ฎ๓ ง๓ ฟ</p>
Posts
-
Post #1904269
Micro USB in 2025 is a misdemeanor. USB-C that requires a USB-A charger is a felony.
-
Post #1904268
Most NFL teams are named for a city, e.g.: Seahawks, Browns, Cowboys, Bay Buccaneers. Some are named after states: Titans, Vikings, Cardinals, Panthers, Jets, Giants, Commanders, City Chiefs. Patriots are named after a country that doesn&#39;t exist. Ironic.
-
Post #1904265
New unit testing rule just dropped: Any two adjacent lines of code shall be verified by the exact same tests.
-
Post #1904264
@BarneyDellar @qcoding Given a function like: F() { a(); b(); if (c()) { d(); } } It makes sense to have test(s) for when `c` is true and other test(s) for when it&#39;s false. But don&#39;t have some test(s) for the `a` effects and some test(s) for the `b` effects. If the `a` and `b` effects need to be verified, assert them both in the same test. And yes: if this makes your tests undesirable in some way, refactor.