🔄 Continuous refactoring isn’t a ‘nice-to-have,’ it’s a necessity. Always look for opportunities in both test and production code. Be ruthless! #Refactoring #CodeQuality
🧐 Curious about Test Driven Development (TDD) and its impact on code quality? Join us in the workshop "Test Driven Development For Everyone" by Daniel Raniz Raneland. 👩💻 📢 Explore more: https://cz.pycon.org/2023/program/workshops/18/
#TDD #CodeQuality #PyConCZ23
Why should you prefer refactoring over re-engineering? Simple: success rate. A single refactoring step has a near 100% chance of success if done right. Rewrites? Not so much. Aim for constant, risk-free improvements. #RiskManagement #CodeQuality
The key to effective refactoring? Test suites. Your tests should stay green before and after you refactor. This ensures you're not altering behavior, just improving structure. #SoftwareTesting #CodeQuality
Don't let your business domain code get polluted by details of third-party services. Keep it clean, keep it simple. #SoftwareEngineering #CodeQuality #10xSoftwareDelivery
#10xsoftwaredelivery #codequality #softwareengineering
Don’t let your company drown in tech debt. 🌊
We can help you improve your #codequality through reviews, #pairprogramming, and mentoring.
🌱 You never grow alone: https://mainmatter.com/startups/
#codequality #pairprogramming #startup #growth #innovation
Repeat after me: code coverage is meaningless if you have low-quality tests.
#automatedtesting #codequality
Object calisthenics are a set of rules to improve the maintainability, readability, testability and comprehensibility of code. You can read about it in my last post:
https://rubenrubiob.substack.com/p/object-calisthenics-in-php?utm_campaign=post
#php #codequality #freelance #consultant
Are you trying to maintain multiple approaches to the same thing in your code? It's time to migrate to the latest approach and reduce maintenance overhead. #10xSoftwareDelivery #CodeQuality
#codequality #10xsoftwaredelivery
So my new boss just affirmed that that's how it should be done. Encouraged me to not hold back. 🙌
Yes to being ruthless and obsessive on code quality. But also yes to being kind.
#python #Dev #codereview #codequality
Dive deep into the world of performance & efficiency analysis in large-scale computing!
From technical insights to historical shifts and even organizational impacts, this #InfoQ talk has it all! Let's explore the future of tooling and see where things could and should improve!
🎥 Watch the video now: https://bit.ly/45nA8Di
#transcript included
#infoq #transcript #softwaredevelopment #codequality #performance #agile
I'll try something new here: We're going to have the first meeting for a #codequality group in our company of about 20 people. This will include discussions about #SoftwareTesting, #TestAutomation, #ContinuousIntegration, #StaticAnalysis, etc.
Any tips or resources on how to organize such a group? We're three people and we try to come up with a course of action to improve quality. We’re web devs using #php but that shouldn't stop you from suggesting links, etc.
Thanks!
#codequality #softwaretesting #testautomation #ContinuousIntegration #staticanalysis #php #softwarequality
Imagine forgetting how to use a debugger because your code is that good. High-quality software isn't a dream, it's achievable.🚀💻 #DeveloperLife #CodeQuality
#Programming #CodeQuality #CodeTerrorism
Let bob be an instance of class Bob.
Problem: how to run sequentially two simple methods of bob?
Solution 1:
* bob.method_1()
* bob.method_2()
* proudly exit
Solution 2:
* bob.method_1()
* signal main application that bob has run method_1
* use main application to signal everyone - including bob, that bob has run method_1
* bob: oh? I ran method_1, did I?
* then bob.method_2()
Note: signals are obviously homemade and not even thread safe.
#codequality #codeterrorism #programming
Should we use #coverage reports only for #unittest or also for integration and functional testing?
Should the test directory split into unit, integration and functional tests or should all tests in one root tests folder? (Both following the namespace rules)
#coverage #unittest #question #codequality
#CodeQuality
Let's parse some #json.
[ "foo", "bar", ] : #syntax error, extra trailing comma.
Solution 1.
Generate proper Json syntax in the first place : [ "foo", "bar" ]
Solution 2.
Decide that Json lists should always end with a null item : [ "foo", "bar", "null"].
Update all your codebase accordingly:
1. Forget Python's `import json`
2. Use a homemade Cpp-wrapped lib that ignores the null item automagically.
3. In other cases, manually discard the null element.
Why. Oh why?
📣New #SuCoS v1.2.0 release is here! #CodeQuality takes the lead with @dotnet #AutomatedTests on #gitlab + #nuke, #coverlet, improved page lists, and a better-organized code, this upgrade polishes the edges. Peek behind the scenes at
https://sucos.brunomassa.com/blog/v1.2.0-release-polishing-the-edges
🚀💻🎉 #TDD
#sucos #codequality #AutomatedTests #gitlab #nuke #coverlet #tdd
🔍 Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
"If Rust is not only better for writing quality code, but also better for getting that code landed, that’s a pretty compelling set of reasons beyond even performance and memory safety for companies to be evaluating and considering adopting it."
Jan.
Bob : Here's a script (kludge.sh) that runs our app at startup
Alice : Why not use systemd? 🥱
Feb.
B. : Now endlessly restarts the app if it crashes.
A. : Why not use systemd? 🧐
Mar.
B. : Now logs the restart events!
A. : Why not use systemd? 😐
Apr.
B. : Now you can force restart!
A. : Why not use systemd? 😤
May.
B. : I read about sth called systemd, seems cool!
A. : #NoShitSherlock
B. : Now I run kludge.sh from systemd. Works fine. Except stop/restart.
A. : 😶🤦
#codequality #devops #noshitsherlock
Programmers face a #SoftwareDesign dilemma hourly - I need to change this code, it's messy, DO I TIDY FIRST?
The answer is, of course, it depends. It depends on coupling/cohesion, economics, psychology, & teamwork. These are the same factors affecting all software design decisions but here we can study them under a microscope.
🎥 #InfoQ video with #transcript included: https://bit.ly/3ILN3pX
#CodeQuality #Agile #SoftwareDevelopment #SoftwareArchitecture
#softwaredesign #infoq #transcript #codequality #agile #softwaredevelopment #softwarearchitecture