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/)HO
Posts
2
Comments
6
Joined
6 mo. ago
JavaScript @programming.dev
8hob @programming.dev

Assertions in If-Clauses in Unit Tests: Tips and Best Practices

Generally, it is inadvisable to directly expect in if-clauses. Here are some tips to avoid these situations.

draw.io no longer open source since August 27, 2024

  • Yes, I agree. Too many people are overly obsessed with the exact definition of "Open Source". But come on, this now "proprietary" software is only tiny bit different from an open source software and shares almost no similarity with a typical proprietary software.

    And more importantly, this new license is even arguably better than an open core model.

  • TypeScript @programming.dev
    8hob @programming.dev

    A Type-Safer Alternative to Type Guards in TypeScript

    A trick that I'd like sharing :)