Bob Belderbos · @bbelderbos
411 followers · 397 posts · Server fosstodon.org

New @pybites YouTube video:

Mastering Refactoring: Simplifying Code with the Dictionary Dispatch Pattern
youtu.be/bL0Y-aEnlgY?si=wk6iFO

#python #refactoring #cleancode

Last updated 1 year ago

Javier Salcedo · @javier_salcedo
50 followers · 551 posts · Server mastodon.gamedev.place

My inner “clean” coder is very happy to see that making an already small function even smaller made it x4 faster because GCC started to inline it (“Other lessons learned” section).

On the other hand this is something I wouldn’t have expected and it horrifies me.

codingnest.com/the-little-thin

#cpp #gcc #cleancode

Last updated 1 year ago

Yisrael Dov :emacs: :nixos: · @yisraeldov
496 followers · 3486 posts · Server linuxrocks.online

What is the way to handle loging form different points in the application. Apps tend to be littered with logging calls, but that seems to violate all sorts of and rules. But we still need to be able to log and many different places

#cleancode #solid #architecture

Last updated 1 year ago

Alex Fedorov | 10xSWE · @tdd_fellow
3 followers · 342 posts · Server mas.to

Is there dead, unused, or duplicate code in your system? It's a hidden time and resource sink. It's time to remove it ruthlessly.

#cleancode #10xsoftwaredelivery

Last updated 1 year ago

Vic · @victorp
38 followers · 88 posts · Server techhub.social

The global developer community is expected to grow significantly this year, with estimates a global workforce of 27.7 million developers. To understand this number, imagine a hypothetical scenario in which each of these programmers writes ten lines of code. The result would be 277 million lines 🙈🤯 of code being made every day, and this doesn't even include the impact of AI tools that create new code.

What Is Clean Code?
Clean code is clear, consistent, structured, testable and tested, reliable and scalable, with minimal bugs and defects. With clean code best practices, developer teams can better manage the state of code including reducing risk related to vulnerabilities in code and extending the lifetime of business applications as a result.
Agree?

thenewstack.io/what-is-clean-c

#cleancode #devopsworkflow #developerproductivity #technicaldebt #developertools #codingchallenges #codeconsistency #satisfaction #global #codeefficiency #softwaredevelopment #code #security #developer #devops

Last updated 1 year ago

Pybites · @pybites
125 followers · 108 posts · Server fosstodon.org

When is it time to refactor?

Great article by Rob van der Leek:
pybit.es/articles/when-to-refa

+ a new tool he built you can add to your pre-commit to get a warning when it's time to refactor (based on function length)

#python #refactoring #cleancode

Last updated 1 year ago

"Making a graphic lib to encapsulate OpenGL?" why? it's already an api that encapsulate low level gpu stuff, I should just use it directly! It's not like I want to switch it out for another api anyway.
I'm still SOLID, KISS and DRY 'ing all over but somehow I'm realizing that it is less cumbersome and way more readable to use the low level library directly everywhere.

#coding #c #programmation #cleancode

Last updated 1 year ago

For the past month I've been trying to make a game, but I keep falling in the "making an engine" trap.
I start planning for things I don't even want in the game in case I wish to reuse the code for another project
I'm not even very good in making enigne, I am just trying to make something playable

#coding #c #programmation #cleancode

Last updated 1 year ago

So I'm getting a bit tired of encapsulating everything and adding tons of abstraction layers for projects ... I work on myself.
I just realize that for the most part these abstraction just aren't necessary!

#coding #c #programmation #cleancode

Last updated 1 year ago

Marcos Simental · @mrkz
1 followers · 4 posts · Server fosstodon.org

I've been reading "Clean code" for a bit and while it's been great to continue improving my professional career, I feel that I also need to read something different that does not requires me to take notes every now and then.

#booktodon #cleancode

Last updated 1 year ago

Klaus Häuptle · @klaushaeuptle
105 followers · 34 posts · Server saptodon.org

A new reason emerges for writing clean code. Better Support by Generative AI

Generative AI is a new technology that can help you write code. It is still in its infancy, but it is already very impressive. From what I saw so far when working with generative AI like GitHub CoPilot clean intention revealing code results in much better support when leveraging generative AI for software development.

#it

#cleancode #tech #softwaredevelopment #News #developer #ABAP #java #javascript #nodejs #python

Last updated 1 year ago

Christian Ullenboom · @ullenboom
16 followers · 114 posts · Server mas.to
Chi Cuong Le · @chicuongle
3 followers · 146 posts · Server masto.ai
susomejias :verified: · @susomejias
28 followers · 64 posts · Server hachyderm.io

Amén, de aquí la importancia de intentar hacer código pensando en las personas y no tanto en las máquinas 😊

#developer #cleancode #readwise

Last updated 1 year ago

Lukas · @lukstru
29 followers · 302 posts · Server toot.kif.rocks

I've got some results! With my current research, not including clean requirements correlates with a higher amount of s published per year.

I looked at 19 github repositories that are big and have some CVEs.

However!: My N is very low, it's only a seminar. The results aren't very representative. Yet. I may get that topic for my masters thesis, then I'll be able to look at it in more detail.

#code #cve #cleancode #security #software #development

Last updated 1 year ago

Bob Belderbos · @bbelderbos
393 followers · 340 posts · Server fosstodon.org

Pybites Podcast 119 - Chris May (@_chrismay) on the importance of refactoring 💡 😍 youtu.be/LuyQ_ZTI-jU

#python #developer #cleancode

Last updated 1 year ago

Foojay.io · @foojay
606 followers · 392 posts · Server foojay.social
Klaus Häuptle · @klaushaeuptle
98 followers · 29 posts · Server saptodon.org

As an engineer you still need to take care of keeping the code maintainable, readable and testable. Tools can only automatically correct some basic things like code style and formatting.

More details on how to learn those skills leveraging the books, the style guide repository and more can be found in the blog:
blogs.sap.com/2022/12/21/clean

#cleancode #software #developer #code

Last updated 1 year ago

scottkeckwarren · @scottkeckwarren
26 followers · 271 posts · Server phpc.social

Today I deleted a feature I created 5 years ago to solve a problem that we had. We've created a new better solution with what we learned from the old solution. I didn't feel bad even a little bit deleting the old code.

#codestewardship #cleancode

Last updated 1 year ago

Sean D. Mack · @smack
52 followers · 126 posts · Server techhub.social

In software development, it's not just about writing code that works. It's about writing code that is easy to understand, maintain, and evolve over time.

#cleancode #sustainabledevelopment

Last updated 1 year ago