▲ 5 ▼ AI and the age of probabilistic programming (www.abrahammarinperez.com) submitted 9 months ago by codeinabox@programming.dev to c/programming@programming.dev 10 comments fedilink hide all child comments
[–] killeronthecorner@lemmy.world 14 points 9 months ago (1 child) Quality is not a measurable entity The moment at which I knew this article couldn't be taken seriously came later than expected, but here it is permalink fedilink source hideshow 2 child comments replies: [–] codeinabox@programming.dev [S] 3 points 9 months ago (1 child) 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? permalink fedilink source parent hideshow 2 child comments replies: [–] killeronthecorner@lemmy.world 1 point 9 months ago* (1 child) What if we don't define code quality in terms of the aesthetics of that code? Why is the perception of code quality so important prior to that code ever having been executed? How can we test our code? What does it's testability tell us? What do it's tests tell us? Is our test code good quality? Does it need to be? How can we know it is? Is it's quality measured by the same metrics as the code it is testing? 'Clean Code' by Uncle Bob is a good place to start when answering these questions. permalink fedilink source parent hideshow 2 child comments replies: [–] sukhmel@programming.dev 4 points 9 months ago (1 child) 'Clean Code' by Uncle Bob is a good place to start when answering these questions. And here I was, almost agreeing. Clean code is defining quality through aesthetics, and that book is a very bad advice of how to define anything permalink fedilink source parent hideshow 2 child comments replies: [–] killeronthecorner@lemmy.world 1 point 9 months ago That's a very narrow definition of the contents of the book. permalink fedilink source parent
[–] codeinabox@programming.dev [S] 3 points 9 months ago (1 child) 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? permalink fedilink source parent hideshow 2 child comments replies: [–] killeronthecorner@lemmy.world 1 point 9 months ago* (1 child) What if we don't define code quality in terms of the aesthetics of that code? Why is the perception of code quality so important prior to that code ever having been executed? How can we test our code? What does it's testability tell us? What do it's tests tell us? Is our test code good quality? Does it need to be? How can we know it is? Is it's quality measured by the same metrics as the code it is testing? 'Clean Code' by Uncle Bob is a good place to start when answering these questions. permalink fedilink source parent hideshow 2 child comments replies: [–] sukhmel@programming.dev 4 points 9 months ago (1 child) 'Clean Code' by Uncle Bob is a good place to start when answering these questions. And here I was, almost agreeing. Clean code is defining quality through aesthetics, and that book is a very bad advice of how to define anything permalink fedilink source parent hideshow 2 child comments replies: [–] killeronthecorner@lemmy.world 1 point 9 months ago That's a very narrow definition of the contents of the book. permalink fedilink source parent
[–] killeronthecorner@lemmy.world 1 point 9 months ago* (1 child) What if we don't define code quality in terms of the aesthetics of that code? Why is the perception of code quality so important prior to that code ever having been executed? How can we test our code? What does it's testability tell us? What do it's tests tell us? Is our test code good quality? Does it need to be? How can we know it is? Is it's quality measured by the same metrics as the code it is testing? 'Clean Code' by Uncle Bob is a good place to start when answering these questions. permalink fedilink source parent hideshow 2 child comments replies: [–] sukhmel@programming.dev 4 points 9 months ago (1 child) 'Clean Code' by Uncle Bob is a good place to start when answering these questions. And here I was, almost agreeing. Clean code is defining quality through aesthetics, and that book is a very bad advice of how to define anything permalink fedilink source parent hideshow 2 child comments replies: [–] killeronthecorner@lemmy.world 1 point 9 months ago That's a very narrow definition of the contents of the book. permalink fedilink source parent
[–] sukhmel@programming.dev 4 points 9 months ago (1 child) 'Clean Code' by Uncle Bob is a good place to start when answering these questions. And here I was, almost agreeing. Clean code is defining quality through aesthetics, and that book is a very bad advice of how to define anything permalink fedilink source parent hideshow 2 child comments replies: [–] killeronthecorner@lemmy.world 1 point 9 months ago That's a very narrow definition of the contents of the book. permalink fedilink source parent
[–] killeronthecorner@lemmy.world 1 point 9 months ago That's a very narrow definition of the contents of the book. permalink fedilink source parent