Jens · @schegge42
33 followers · 403 posts · Server nrw.social

Microservice Anti-Pattern

Nach einigen Beiträgen zu Microservices soll in diesem Beitrag ein wenig über die Schattenseiten der Technologie berichtet werden. Insbesondere über Bad-Smells und Anti-Pattern, den falschen Lösungsansätzen, bei der Entwicklung eigener Microservices.

schegge.de/2023/06/microservic

#antipattern #bestpractices #java #pattern #badsmell #boundedcontext #codesmell #microservice #monolith

Last updated 2 years ago

susomejias · @susomejias
15 followers · 25 posts · Server hachyderm.io

The code smell called Magic Numbers is caused by using numbers that lack the proper semantics in our code 🧼

blog.susomejias.dev/blog/code-

#code #codesmell #cleancode #codequality #magicnumbers

Last updated 3 years ago

susomejias · @susomejias
15 followers · 25 posts · Server hachyderm.io

The code smell called Switch Statements is caused by the abusive use of the switch statements in our code 🧼

In this article I show how identify and fix this code smell.

blog.susomejias.dev/blog/code-

#code #codesmell #cleancode #codequality #switchstatements

Last updated 3 years ago

susomejias · @susomejias
15 followers · 25 posts · Server hachyderm.io

The code smell called Divergent Change can be detected when we observe that at a specific point in our application we perform too many changes, these points can be a certain class, a .js or .ts file that exports certain functions, etc. 🧼

I share an article with you so you can learn how to detect it and give it a solution.

blog.susomejias.dev/blog/code-

#code #codesmell #divergentchange

Last updated 3 years ago

susomejias · @susomejias
15 followers · 25 posts · Server hachyderm.io

The code smell called Primitive Obsession is given by the abusive use of primitive types when modeling our classes.

If you want to learn how to detect and eliminate it, I leave you an article where I explain it.

blog.susomejias.dev/blog/code-

#codesmell #primitiveobsession #cleancode #codequality

Last updated 3 years ago

susomejias · @susomejias
10 followers · 15 posts · Server techhub.social

The code smell called Magic Numbers is caused by using numbers that lack the proper semantics in our code 🧼

blog.susomejias.dev/blog/code-

#code #codesmell #cleancode #codequality #magicnumbers

Last updated 3 years ago

Jacob Sewell · @jasewell
2 followers · 23 posts · Server hachyderm.io

The system I'm modifying right now has blocks of different types, and one of those types can contain other blocks. As it happens, that block type only ever contained two child blocks.
ALL of the code that needs to recurse down the block tree is written twice:
if (doStuff(stuff, block.children[0])) return true;
if (doStuff(stuff, block.children[1])) return true;

Aargh! (1/2)

#code #whyyyy #codesmell

Last updated 3 years ago

lil5 :xfce: · @lil5
64 followers · 891 posts · Server fosstodon.org

@pwaring IMO starting an array with a null value so that your index is n+1 is a no matter the language you write it in

#codesmell

Last updated 3 years ago

susomejias · @susomejias
7 followers · 8 posts · Server techhub.social

The code smell called Divergent Change can be detected when we observe that at a specific point in our application we perform too many changes, these points can be a certain class, a .js or .ts file that exports certain functions, etc. 🧼

I share an article with you so you can learn how to detect it and give it a solution.

blog.susomejias.dev/blog/code-

#code #codesmell #divergentchange

Last updated 3 years ago

susomejias · @susomejias
7 followers · 8 posts · Server techhub.social

The code smell called Primitive Obsession is given by the abusive use of primitive types when modeling our classes.


If you want to learn how to detect and eliminate it, I leave you an article where I explain it.


blog.susomejias.dev/blog/code-

#codesmell #primitiveobsession #cleancode #codequality

Last updated 3 years ago

susomejias · @susomejias
1 followers · 4 posts · Server mstdn.social

Today return with the code smell called Primitive Obsession , this is given by the abusive use of primitive types when modeling our classes blog.susomejias.dev/blog/code-

#codequality #cleancode #codesmell

Last updated 3 years ago