Those who know, know.

  • Codex@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    I should get to work on my opus, “Dirty Code”

    Inside I’ll reveal all my secrets like: not writing tests, not documenting anything, putting the whole app into a single python file, object-disoriented relational mapping, obscure SQL tricks, unobscure no-sql tricks, and more!

  • EnderMB@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Working in Ruby did 10x more to help me write clean code than reading Clean Code ever did.

    Many of the lessons drilled into me with Ruby (keep a consistent style, tests are cheap, keep your methods relatively small where possible, reduce nesting where possible) carry over nicely into other languages without needing to go through any OO bullshit.

    IMO, the best lesson around Clean Code is this: you’re not clever, write obvious code that works with as few tricks as possible.