"Have a GTK app with no tests? No problem!"
with Federico Mena Quintero at #GUADEC2025 25 July
14:20 CEST
Brescia
Federico shows how to refactor messy GTK codebases so you can finally test them—without rewriting from scratch.
"Have a GTK app with no tests? No problem!"
with Federico Mena Quintero at #GUADEC2025 25 July
14:20 CEST
Brescia
Federico shows how to refactor messy GTK codebases so you can finally test them—without rewriting from scratch.
Optimizing large PHP codebases without breaking everything? I just shared my approach, with code samples and tooling tips.
https://mikelopez.com/blog/1140
#PHP #Performance #Refactoring #DevTips #Backend
LIVE: @zalasur is streaming on PeerTube!
Tune in: https://peertube.zalasur.media/videos/watch/3
Static Analysis and Automated Refactoring https://leanpub.com/b/static-analysis-and-automated-refactoring by Matthias Noback matthiasnoback@mastodon.social and Tomas Votruba is the featured bundle of ebooks on the Leanpub homepage! https://leanpub.com #Refactoring #Php #Laravel #Symfony #Zend #SoftwareEngineering #AutomatedSoftwareTesting
The ranged W command was great to perform a Move Method #refactoring to another class.
W appends a selected block from the current file to another file. Then you can edit the other file and move the appended block to its correct position with the m command. A few substitutions later, and the Move Method was done without leaving ed.
Leanpub book LAUNCH Build a Database Server: Learn how real databases work by following this practical guide to building your own by Chris Zetter
Watch here:
Do you ever skip trying to use automated refactoring because it's too annoying in Xcode? https://qualitycoding.org/xcode-key-bindings-refactoring/ #refactoring
It's going well so far:
*!git log --oneline | cut -d' ' -f2- | tac
Starting point
Simplify for loop
Invert the first if
Split first if
Invert if on sulfuras
Permute ifs for sulfuras
Join first 'if else's
I think I can now say it's totally doable and even worth repeating this kata a few times.
Example of scope, I currently want to invert the condition on the name here:
*34,40n
34 } else {
35 if (item.quality > 0) {
36 if (!item.name.equals("Sulfuras, Hand of Ragnaros")) {
37 item.quality = item.quality - 1;
38 }
39 }
40 }
This is fine if I do one thing at a time.
Also: ed edits could be a great format for #refactoring toots
Totally random thought: would I be able to do the Gilded Rose kata using only the ed text editor in a reasonable time?
Goals:
1) have fun,
2) look like a fool,
3) learn enough ed to later be able to script complex text changes across files,
4) also level up in sed and vim
Reason: ed(1) is the standard Unix text editor.
Well, another one bites the dust... Code Climate is shutting down and their new replacement service (only upgrade option) with the fascinating strapline "Code With Vibes, Merge With Confidence" does inspire anything but...
(Been using CC for years and even though it produced a lot of false positives, it generally was a very useful tool which sent me off on several major refactoring journeys over the years, from which not only I benefited as a maintainer, but all users of my libraries/tools did too... c'est la vie...)
Stop right-clicking to refactor in Xcode https://qualitycoding.org/xcode-key-bindings-refactoring/ #refactoring
Refuctoring the process of taking a well-designed piece of code and, through a series of small, reversible changes, making it completely unmaintainable by anyone except yourself.
— Jason Gorman
Summer is often quieter in dev teams : it's a good time to work on big refactoring and code cleanup.
If you'd like/want/need a hand/some advice, I'm available :)
L'été, c'est souvent plus calme dans les équipes de dev : c'est le bon moment pour faire des gros refactoring et du nettoyage.
Si vous avez envie/besoin d'un coup de main/de conseils/d'être guider, je suis dispo \o/
From the Leanpub Blog: Welcome to the Leanpub Launch video for Build a Database Server: Learn how real databases work by following this practical guide to building your own by Chris Zetter!
https://leanpub.com/blog/leanpub-book-launch-build-a-database-server-by-chris-zetter
Leanpub book LAUNCH Build a Database Server: Learn how real databases work by following this practical guide to building your own by Chris Zetter
Watch here:
When your "search" table turns out to be a case timeline engine, you start rethinking more than just column names. Sometimes clarity is a feature.
Good morning everyone! Here is the latest updates on my channel #jesprotech #java #kotlin #projects #refactoring #repurposing #focus #afterbo: http://youtube.com/post/UgkxqM4qfsa5FajdzWmamGkf_9YYCBa4RNVV?si=mphHYTGfk1a26-EX
@mjglopez Definitely a combo of #1 and #2: Been working #refactoring truly enormous amount of code for the last years, code which has its oldest roots from 2003. It has been a great learning experience while having the chance to restructure large sections of the #systemarchitecture Painpoints? Sure. But what cool results, improved #performance and first of all: #maintainability