#codesmells — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #codesmells, aggregated by home.social.
-
Learn why using (0, 0) for missing coordinates creates bugs and how a polymorphic Location type keeps Kotlin models accurate. https://hackernoon.com/code-smell-208-dont-use-null-for-real-places #codesmells
-
Learn why using (0, 0) for missing coordinates creates bugs and how a polymorphic Location type keeps Kotlin models accurate. https://hackernoon.com/code-smell-208-dont-use-null-for-real-places #codesmells
-
Code Smells sind Hinweise darauf, dass im Code etwas nicht sauber ist - etwas schlecht riecht. Es geht nicht um Syntaxfehler oder Bugs, sondern um Strukturen, die dich langfristig ausbremsen. Der Code funktioniert vielleicht heute, aber er wird schwerer zu verstehen, zu testen und zu erweitern. Gera
https://magicmarcy.de/code-smells-was-riecht-denn-hier-so-streng
#CodeSmells #Methoden #Logik #Parameter #MagicStrings #MagicNumbers #Programming #Awareness
-
Unlock Refactoring and Level Up Your Game
-
🔍 Los code smells son señales de alerta en tu código que indican problemas de diseño. Aprende a identificarlos y eliminarlos para escribir software más limpio y mantenible. 💻✨
Lee más 👉 https://www.soloingenieria.org/ingenieria-de-software/code-smells/
#CodeSmells #IngenieríaDeSoftware #CódigoLimpio #Refactoring #DesarrolloDeSoftware #Programación #CalidadDeCódigo
-
El código que funciona no siempre es código de calidad. Los code smells revelan problemas invisibles que complican el mantenimiento futuro. 💡
#CodeSmells #IngenieríaDeSoftware #CódigoLimpio #Refactoring #DesarrolloDeSoftware #Programación #CalidadDeCódigo
-
Send messages only to your direct acquaintances, not their friends. https://hackernoon.com/code-smell-08-send-messages-only-to-your-direct-acquaintances-not-their-friends #codesmells
-
Send messages only to your direct acquaintances, not their friends. https://hackernoon.com/code-smell-08-send-messages-only-to-your-direct-acquaintances-not-their-friends #codesmells
-
Republishing an old @codesai post on Dev community:
A case of Shotgun Surgery
https://dev.to/trikitrok/a-case-of-shotgun-surgery-4aed#technicaldebt #SoftwareEngineering #TechDebt #CodeQuality #tech #codeSmells
-
🚀 ¡Nuevo Artículo en el Blog! 🚀
¿Alguna vez te has encontrado con una maraña de operadores ternarios en tu código que parece un laberinto sin salida?
👉 Descubre por qué estos operadores son considerados un antipatrón de diseño y aprende estrategias efectivas para refactorizar tu código, manteniéndolo limpio y comprensible.
¡No te pierdas esta guía esencial para desarrolladores que buscan mejorar su código!
https://blog.susomejias.dev/code-smell-chained-ternary-operators
#CodeSmells #CleanCode #SoftwareDevelopment #ProgrammingTips
-
Do you want Infrastructure as Code security? :kubernetes: :github: :microsoft:
Do you use CodeQL to scan your code (which is, btw, free for open source code)?
From today you can use #CodeQL to scan it, using a new open source package written by my team mate @geekmasher
Scan #Terraform, #GitHubActions, #HelmChart, and #AzureBicep, with more in progress.
#IAC #InfrastructureAsCode #SAST #CodeSecurity #CodeSmells #StaticAnalysis #GitHub #AdvancedSecurity
-
Do you want Infrastructure as Code security? :kubernetes: :github: :microsoft:
Do you use CodeQL to scan your code (which is, btw, free for open source code)?
From today you can use #CodeQL to scan it, using a new open source package written by my team mate @geekmasher
Scan #Terraform, #GitHubActions, #HelmChart, and #AzureBicep, with more in progress.
#IAC #InfrastructureAsCode #SAST #CodeSecurity #CodeSmells #StaticAnalysis #GitHub #AdvancedSecurity
-
Which "CLI options to kwargs" mapping code is the least "smelly"? I realized that my naive implementation creates a new identical Hash on each call to kwargs, which adds overhead when processing multiple values or a file of values and `BusinessLogic.do_stuff(value,**kwargs)` is called on each value. This got me thinking about how to best eliminate duplicate work.
https://gist.github.com/postmodern/bfadfeee86779e8fc9225c122dc65960
#ruby #codesmells -
Which "CLI options to kwargs" mapping code is the least "smelly"? I realized that my naive implementation creates a new identical Hash on each call to kwargs, which adds overhead when processing multiple values or a file of values and `BusinessLogic.do_stuff(value,**kwargs)` is called on each value. This got me thinking about how to best eliminate duplicate work.
https://gist.github.com/postmodern/bfadfeee86779e8fc9225c122dc65960
#ruby #codesmells -
This week on our @pybites podcast: Code Smells 🎉
I talk about 15 things to look out for in your (and others) code to make it cleaner and more maintainable over time. 🐍 😍
I hope this is helpful for you:
https://pybit.es/articles/write-more-maintainable-python-code-avoid-these-15-code-smells/Happy to hear your thoughts on this ... 💡
#python #cleancode #codequality #codesmells #maintainability #softwaredevelopment #softwaredesign #codingbestpractices #refactoring
-
This week on our @pybites podcast: Code Smells 🎉
I talk about 15 things to look out for in your (and others) code to make it cleaner and more maintainable over time. 🐍 😍
I hope this is helpful for you:
https://pybit.es/articles/write-more-maintainable-python-code-avoid-these-15-code-smells/Happy to hear your thoughts on this ... 💡
#python #cleancode #codequality #codesmells #maintainability #softwaredevelopment #softwaredesign #codingbestpractices #refactoring
-
Who claims „all comments are Code smells“ never had to work with rookie developers. „The code speaks for itself“ only works when the reader has a matching vocabulary #development #codesmells
-
Who claims „all comments are Code smells“ never had to work with rookie developers. „The code speaks for itself“ only works when the reader has a matching vocabulary #development #codesmells
-
My talk on Primitive Obsession (Your Classes are Too Big) is up on YouTube!
Sign up for my newsletter at https://mycmt.dev to get a copy of the slides and source code.
-
My talk on Primitive Obsession (Your Classes are Too Big) is up on YouTube!
Sign up for my newsletter at https://mycmt.dev to get a copy of the slides and source code.
-
Why do developers resort to flags so much? So many times doing code reviews or just talking with peers, I see developers look at a function that does ALMOST what they want, so they just add a flag to it and turn it on for their special case. These functions quickly turn into unreadable, unmaintainable, mess. How can we educate and teach our communities to be better? #programming #codesmells #discussion
-
Over on Reddit I'm participating in a discussion about code smells. Invariably, the number of lines in a method and the number of methods in a class are mentioned. And I completely and utterly disagree. Here's a copy of my argument agains line counts and method counts. #softwareArchitecture #codeSmells #objectOriented