London based software development consultant

  • 203 Posts
  • 36 Comments
Joined 1 month ago
cake
Cake day: September 29th, 2025

help-circle











  • codeinaboxOPtoAI - Artificial intelligenceAI's 70% Problem
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 days ago

    His experiences reveal a pattern: AI can rapidly produce 70% of a solution, but that final 30% – edge cases, security, production integration – remains as challenging as ever. Meanwhile, trust in AI-generated code is declining even as adoption increases.

    I’m very much intrigued by this contradiction where where adoption of AI is increasing, but the trust in the code it generates is declining. Is it a case of the more developers use AI coding tools, the more they become aware of the shortcomings and problems?














  • codeinaboxOPtoGitPull Request Templates
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 days ago

    I know what you mean. Quite often when I’ve worked in a project where there is a pull request template, a lot of the time people don’t bother to fill it out. However, in an ideal world, people would be proud of the work that they’ve delivered, and take the time to describe the changes when raising a pull request.



  • I stumbled upon this article after reviewing a pull request, where someone was unit testing the abstract base class. I’m of the opinion that base classes should not be tested. We don’t want to be testing the architecture of an application, we want to be testing the behaviour. The author sums this up nicely with this point:

    For tests, though, it shouldn’t matter whether the classes under test share the domain logic or duplicate it. Tests should view all production code as a black box, and approach verifying it with a blank slate. Otherwise, such tests will start couple to the code’s implementation details.







  • I also make use of ‘⚠’ to mark significant/blocking comments and bullet points. Other labels, like or similar to conventional comment prefixes, like “thought:” or “note:”, can indicate other priorities and significance of comments.

    Thank you for introducing me to conventional comments! I hadn’t heard of them before, and I can see how they’d be really useful, particularly in a neurodiverse team.






  • How does one measure code quality? I’m a big advocate of linting, and have used rules including cyclomatic complexity, but is that, or tools such as SonarQube, an effective measure of quality? You can code that passes those checks, but what if it doesn’t address the acceptance criteria - is it still quality code then?




Moderates