"Knowledge Smells" An idea I'm kicking around. Does it resonate with anyone else?
#ai #llm #CodeSmell
thomasrigby.com/posts/knowledge-smells-genai-and-subject-matter-expertise/
Knowledge Smells: GenAI and subject matter expertise

The less a person knows about a subject, the more they lean on the GenAI.

thomasrigby.com

Today is a let’s fix all the warnings in the thousands of lines of groovy we have been letting rot for 2 years type of day.

I got nothing against groovy other than it’s excessively difficult to even lint outside of running it in a jenkins environment. So I guess groovy using jenkins libraries and such.

The juice just ain’t worth the squeeze, or I tell myself that and then end up in situations like this 💀

#jenkins #groovy #codeSmell

#CodeSmell is too humane a term to be applied to the change in signature of a code base when an in-tool AI agent fixes bugs introduced with a different model behind a different AI agent.
What are we calling this generative entropy? "Generative Entropy"?
Just published a new #blog article about a code smell that seemed to have no name yet so I gave it one:
https://levelup.gitconnected.com/the-void-mutator-code-smell-332be36df29d
#codesmell #bestpractice #programming #Medium
The “Void Mutator” Code Smell - Level Up Coding

This method hides complexity in a bad way and mutates the objects passed into it. Let's see how we can improve the code using immutability and purity.

Level Up Coding

#Development #Findings
‘aria-label’ is a letdown · “One in three ‘aria-label’ implementations have likely issues.” https://ilo.im/162zei

_____
#CodeSmell #AriaLabel #ARIA #Accessibility #WebDev #Frontend #HTML

aria-label is a letdown | Wagtail CMS

One in three aria-label implementations have likely issues

Wagtail CMS
Code Smell 291 - Mutable Keys

TL;DR: When you use mutable objects as keys in hashed collections, changing them breaks contracts. Problems 😔 Lost Values Hard Debugging The Least Surprise Principle Violation Unexpected Behavior Solutions 😃 Use immutable objects as keys. Overr...

Maximiliano Contieri - Software Design
Function Properties in Data Classes are Code Smells

To me, using functions as properties in the primary constructor of a data class is a code smell. Here’s why: Data classes represent data. Data is a value. Data is never executed. Functions are not data. They produce values when executed. Note: By the book, a function returns a value, while a procedure executes commands. In both cases, neither is data. Why It Matters Kotlin generates key methods for data classes based on the properties in the primary constructor, such as:

I have a new theory about Boots’s car crash of a website.

I’ve become somewhat obsessed with the boots.com website and its endlessly hilarious bad front end. My theory in my last post was a bad or underskilled manager. A bully or an idiot or both.

I still think there is some bad management shite going down at boots.com but I have started to wonder if the fault might not be further upon the chain […]

#badCode #bigCompanyFails #Boots #codeSmell #errors #HCLTechnologies #IHaveNotes #IBM #managers #muggles #WebSphereCommerce #wizards #CodingAndDevelopment

New #rstats blog post: "Code Smell: Error Handling Eclipse"

https://www.njtierney.com/post/2023/12/06/long-errors-smell/

Where I discuss a code smell I've found lately, too much input error handling inside a function totally eclipses the intent of the function.

#rse #researchsoftwareengineering #codesmell

Code Smell: Error Handling Eclipse | Credibly Curious

You know it's about to get rough when the service you're about to work on starts with #region Fields and the #endregion is not even in sight.

#csharp #codesmell