🔄 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
🛠️ Adding complexity for future needs? That's a recipe for maintenance nightmares. Code for today's problems, and refactor when you actually have confirmation of future needs. #KeepItSimple #Refactoring
New @pybites YouTube video:
Mastering #Python Refactoring: Simplifying Code with the Dictionary Dispatch Pattern
https://youtu.be/bL0Y-aEnlgY?si=wk6iFOyujxvuxU_c
#python #refactoring #cleancode
HackYourJob
fait venir @woodyzuill à #Paris et à #Lyon en octobre pour dispenser son #workshop de programmation en équipe, alias #MobProgramming #EnsembleProgramming #SoftwareTeaming. 😱 ❤️
Il reste des places : https://formation.hackyourjob.com/catalogue/mob-programming.html
Je l'ai fait il y a quelques années, c'était extraordinaire. Je vous le conseille vivement. C'est un moment idéal pour bosser le mob, mais aussi le #TDD, la communication, le #refactoring et d'autres.
#paris #lyon #workshop #mobprogramming #EnsembleProgramming #softwareteaming #tdd #refactoring
A walk through of building fast #RSpec tests to iterate on a low-level #Ruby function. This post talks about the idea of using test tables to help provide examples of both given inputs and expected outputs. I also walk through a #refactoring.
Please reach out if you'd like to learn more or are curious about how me and my team might be able to help you meet your business needs.
✨Fun fact ✨ I'm a wee bit of a serial refactorer. Check out my thoughts on refactoring, sprinkled with a little OpenTelemetry on this week's episode of the Maintainable Software Podcast which dropped today, which, incidentally is my bday, so double bonus. 🎉
https://maintainable.fm/episodes/adriana-villela-on-being-a-serial-refactorer
#maintainablesoftware #refactoring #maintainability
Mastering automated refactoring and code transformations by heart can lead to huge time savings. Make large changes at the speed of thought. #10xSoftwareDelivery #Refactoring
#refactoring #10xsoftwaredelivery
When is it time to refactor?
Great article by Rob van der Leek:
https://pybit.es/articles/when-to-refactor-your-code/
+ 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
Currently refactoring my entire #swift app from #RxSwift to Combine is far more easy than expected. Most painful parts are type safety weirdness (hello CombineLatest!) and tests relying on test scheduler that need some revamp. Oh. By the way, that’s also a nice opportunity to properly split in #SwiftPackage for modularity. Still far from complete but in pretty good shape for now. #iosdev #refactoring
#swift #rxswift #swiftpackage #iosdev #refactoring
Dis donc, ça m'a l'ai d'un usage très propre des intelligences artificielles https://github.com/sweepai/sweep #ia #github #code #programming #refactoring
#refactoring #programming #code #github #ia
DevLog 007: Which feature to work on next?
In this session I will select what to work on next in my video editor by trying to use it to edit some footage and see where I get stuck.
I also touch on the subject of #evolutionary #design.
http://rickardlindberg.me/writing/devlog-007-which-feature-to-work-on-next/
#evolutionary #design #python #refactoring
DevLog 006: Adding the concept of a clip
I finally make the concept of a clip clear(er) in the code.
I also reflect on why this type of pure refactoring is important. It has to do with writing. And thinking. And how they enforce each other.
http://rickardlindberg.me/writing/devlog-006-adding-the-concept-of-a-clip/
DevLog 003: Clarify GUI separation
A #refactoring reveals another issue. But overall, nice progress is made.
http://rickardlindberg.me/writing/devlog-003-clarify-gui-separation/
I need to unify all of these so they can collaborate, plus all the orbit movers and ECS following. :(
Alt text for the image has 1337 characters, that's a good omen! #gamdev #refactoring
I had hoped someone would be dong something like this, so I didn't have to :)
https://github.com/sapped/repochat
"Repo Chat is a service that allows you to interact with your own code repository (placed as sibling directories) via the GPT-3.5 and GPT-4 models by OpenAI through a web interface (http://repochat.localhost:8008/). It utilizes Docker and FastAPI to create a lightweight and portable application. Repo Chat is designed to be used in a development environment where the codebase is constantly changing. It uses the LangChain library to process the codebase and generate contextual embeddings that are then used as input to your selected OpenAI chat model.
"
Adding past work to a project's Open Collective page as Invoices, even though they won't ever be paid, just to show that past work did actually get completed. I'm wondering how much you would realistically charge for a year-long refactoring/restructuring project of a large multi-repo project/suite?
#opencollective #refactoring #consulting
#opencollective #refactoring #consulting
Got asked by a colleague if renaming a variable is considered a #refactoring. Of course it is: https://refactoring.com/catalog/?filter=tags-rename
It is even a powerful and most fundamental refactoring operation. I didn't mention that in #LambdaCalculus the α-conversion is one reductions.
Refactor complete (along with change in behaviour).
Now comes the "how much is broken" piece by running full test suite.
I definitely expect the behavioural tests for this area to break, but fingers crossed for nothing else.
I started working again on #FidoCadJ. For the moment, I'm just doing some #refactoring of the code. I upgraded #PMD from 5.0 to 7.0 and there are a lot of new issues that need to be addressed. Many are trivial, but some will require some thought. In any case, I started with 2200 issues and I am now at about 1300. #opensource https://github.com/DarwinNE/FidoCadJ
#fidocadj #refactoring #pmd #opensource
Resisting badly the desire to move a whole bunch of files around.
Now is just not the right time.