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

🔄 Continuous refactoring isn’t a ‘nice-to-have,’ it’s a necessity. Always look for opportunities in both test and production code. Be ruthless!

#codequality #refactoring

Last updated 1 year ago

PyCon CZ :python: 🇨🇿 · @pyconcz
45 followers · 44 posts · Server floss.social

🧐 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: cz.pycon.org/2023/program/work

#tdd #codequality #pyconcz23

Last updated 1 year ago

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

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.

#codequality #riskmanagement

Last updated 1 year ago

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

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.

#codequality #softwaretesting

Last updated 1 year ago

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

Don't let your business domain code get polluted by details of third-party services. Keep it clean, keep it simple.

#10xsoftwaredelivery #codequality #softwareengineering

Last updated 1 year ago

Mainmatter · @mainmatter
57 followers · 144 posts · Server fosstodon.org

Don’t let your company drown in tech debt. 🌊
We can help you improve your through reviews, , and mentoring.

🌱 You never grow alone: mainmatter.com/startups/

#codequality #pairprogramming #startup #growth #innovation

Last updated 1 year ago

Steve Grunwell · @stevegrunwell
385 followers · 498 posts · Server phpc.social

Repeat after me: code coverage is meaningless if you have low-quality tests.

#automatedtesting #codequality

Last updated 1 year ago

Rubén Rubio · @rubenrubiob
1 followers · 34 posts · Server phpc.social

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:

rubenrubiob.substack.com/p/obj

dev.to/rubenrubiob/object-cali

#php #codequality #freelance #consultant

Last updated 1 year ago

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

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.

#codequality #10xsoftwaredelivery

Last updated 1 year ago

Bren ☕ · @brenthinks
30 followers · 271 posts · Server mindly.social

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

Last updated 1 year ago

InfoQ · @infoq
701 followers · 298 posts · Server techhub.social

Dive deep into the world of performance & efficiency analysis in large-scale computing!

From technical insights to historical shifts and even organizational impacts, this talk has it all! Let's explore the future of tooling and see where things could and should improve!

🎥 Watch the video now: bit.ly/45nA8Di

included

#infoq #transcript #softwaredevelopment #codequality #performance #agile

Last updated 1 year ago

· @matti
11 followers · 421 posts · Server social.lol

I'll try something new here: We're going to have the first meeting for a group in our company of about 20 people. This will include discussions about , , , , 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 but that shouldn't stop you from suggesting links, etc.

Thanks!

#codequality #softwaretesting #testautomation #ContinuousIntegration #staticanalysis #php #softwarequality

Last updated 1 year ago

Alex Fedorov | 10xSWE · @tdd_fellow
1 followers · 41 posts · Server mas.to

Imagine forgetting how to use a debugger because your code is that good. High-quality software isn't a dream, it's achievable.🚀💻

#codequality #developerlife

Last updated 1 year ago

Matthieu Urvoy · @birozularutti
12 followers · 381 posts · Server piaille.fr

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

Last updated 1 year ago

vansari ✅ · @vansari
9 followers · 178 posts · Server phpc.social

Should we use reports only for 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

Last updated 1 year ago

Matthieu Urvoy · @birozularutti
8 followers · 329 posts · Server piaille.fr


Let's parse some .

[ "foo", "bar", ] : 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?

#codequality #json #syntax

Last updated 1 year ago

SuCoS · @sucos
1 followers · 7 posts · Server fosstodon.org

📣New v1.2.0 release is here! takes the lead with @dotnet on + , , improved page lists, and a better-organized code, this upgrade polishes the edges. Peek behind the scenes at
sucos.brunomassa.com/blog/v1.2
🚀💻🎉

#sucos #codequality #AutomatedTests #gitlab #nuke #coverlet #tdd

Last updated 1 year ago

Yalın Pala · @yplog
1 followers · 10 posts · Server fosstodon.org

🔍 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."

opensource.googleblog.com/2023

🦀

#rust #codequality

Last updated 1 year ago

Matthieu Urvoy · @birozularutti
7 followers · 287 posts · Server piaille.fr

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. :
B. : Now I run kludge.sh from systemd. Works fine. Except stop/restart.
A. : 😶🤦

#codequality #devops #noshitsherlock

Last updated 1 year ago

InfoQ · @infoq
578 followers · 204 posts · Server techhub.social

Programmers face a 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.

🎥 video with included: bit.ly/3ILN3pX

#softwaredesign #infoq #transcript #codequality #agile #softwaredevelopment #softwarearchitecture

Last updated 1 year ago