Elektrine lite

← Feed

@chemoelectric@masto.ai

Post #1864449

2026-04-21 20:11 UTC

Some joker thought he had caught me when I complained the Rust source code was doing early exits on exceptional cases in code I had to hack on to get it NOT to recognize my system was NixOS. (I have an actual, fully functioning /usr/local on a NixOS platform. This is difficult to do NOT because NixOS is a Post-Unix operating system, but because NixOS developers are authoritarian lunatics who do things like put in patches and mangle gcc to try to stop you from setting up a working /usr/local.)

Replies (1)

  • @chemoelectric@masto.ai 2026-04-21 20:16

    He asked, ‘What would I do differently?’ and I said I would write strictly structured code. To this I added no details except I explained the reason was so one could count cyclometric complexity by eyeball. (The method is you count conditions in branches and loops, then add one.) This smart alec then said something about early exits not bringing the complexity lower and me being a ideologue. I emphasized I had said nothing about bringing the complexity lower, but about being able to count it.

    Open ##1864450