• 5 Posts
  • 38 Comments
Joined 1 year ago
cake
Cake day: September 8th, 2023

help-circle














  • xia@lemmy.sdf.orgtoAsklemmy@lemmy.mlTouch Typing
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    I would suggest getting an ortholinear keyboard. When I first switched to a Kinesis advantage, the FIRST thing I noticed was how many terrible habits I had of hitting a key with the wrong finger (even twisting my hand about, if you can believe that). Having keys in line with actual finger geometry cured that mess up real quick!





  • xia@lemmy.sdf.orgtoAsklemmy@lemmy.ml......................
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 months ago

    I would whole-heartedly recommend Robert Martin’s clean coding lecture series. It may be many hours of your life, but it is free on youtube and well worth the time. I don’t exactly recall what he says about testing in his lectures, but it’s probably pretty close. If nothing else, it will teach you to critically consider programming structure in the abstract (instead of following formulae), and to write code with the intent for it to be read and maintained by humans.

    I think he also has a series that includes “structured programming” (like early return vs deep nesting), but was unable to find it last time I looked for it. I recall having a shocked epiphany when he (i THINK it was Martin) demonstrated the exact way to clean up a function, that started out ugly, and ended up being reduced to literally nothing (the function was removed).



  • xia@lemmy.sdf.orgtoAsklemmy@lemmy.ml......................
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    Many code-reviewers likewise devalue tests, giving only a cursory skim over the unit-test section of PRs, if they examine them at all, and sometimes code-review itself is devalued to the point of a rubber-stamp (e.g. “great, we need someone from team X to approve it too… doesn’t matter who, though…”).

    If I could tell you, you would be SHOCKED at how high-profile and recent this sordid project was; it’s literally in the news and discussed in my podcasts.