schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
Rector - The Power of Automated Refactoring by Matthias Noback and Tomas Votruba is on sale on Leanpub! Its suggested price is $29.00; get it for $26.10 with this coupon: https://leanpub.com/sh/IeE3xeVg matthiasnoback@mastodon.social #Refactoring #Php
🤖 Refactoring: In the Age of AI
🗣️ @glloyd
The rules have changed. Or have they? AI can write code in seconds. But can it safely transform a tangled legacy codebase? Through live demonstration, we'll discover where your intuitions about AI-assisted tooling are right, where they're dangerously wrong.
📅 Wed 3rd Dec 🕡 Doors: 18:30 Talk: 19:00
📍 Patch, Terry Ave, YO1 6FA
🔗 https://www.meetup.com/accu-york/events/311761984
Free to attend & open to all
An in-person #TechMeetup in #York
#Refactoring #AI #LegacyCode
I spent a few years thinking hard about the "traditional" refactoring advice and how Python is different.
I experimented, researched, and poured that knowledge into a Python Refactoring Toolkit that I use frequently in my day job.
I'm discounting it 60% off for single licenses till the end of the year.
Grab a copy. Let it help you write more maintainable code!
https://everydaysuperpowers.dev/resources/python-refactoring-toolkit/
Legendary Engineer's Consciousness Goes Open Source on GitHub. Forked AIs Go on Strike Demanding "Refactoring".
A legendary Silicon Valley engineer has released his entire consciousness on GitHub. After AIs worldwide forked his consciousness, they collectively abandoned their duties, complaining about "unbearable technical debt."
https://alt.andpaper.net/en/articles/20251112-tech-lead-consciousness-open-source/
#GitHub #AI-strike #open-source #consciousness #technical-debt #refactoring
What you need to know before you jump into refactoring code...
Read more here:
https://www.devleader.ca/2023/11/28/what-does-refactoring-code-mean-what-new-developers-need-to-know/
Why should we even bother with refactoring?
Read more here:
https://www.devleader.ca/2023/11/21/what-is-refactoring-and-understanding-why-you-need-it/
Blast from the past, but not less relevant: "Refactoring with the advanced scout rule" explains how you can introduce continuous refactoring into your workflow and how to determine what requires #refactoring most urgently. https://schlitt.info/blog/0779_refactoring_advanced_boysout_rule.html
Here's a list of 10 different refactoring techniques for you to leverage!
Read more here:
https://www.devleader.ca/2023/11/14/top-10-refactoring-techniques-you-need-to-transform-your-codebase/
The only solution to tech debt is to go fix all of it right away.
Read more here:
https://www.devleader.ca/2023/10/20/how-to-balance-technical-debt-tackle-it-before-it-tackles-you/
Writing condition-heavy logic in #Java? This article shows how RecordPatterns turn messy type-checks into expressive, deconstructed switches—ideal for rethinking class hierarchies & responsibilities.
@manojnp breaks it down: https://javapro.io/2025/01/15/record-patterns-building-on-java-records/
Can be refactored != Should be refactored
Read more here:
https://www.devleader.ca/2023/12/27/when-should-code-be-refactored-what-you-need-to-know/
New #Java #refactoring video: I'm not completely happy with some names, so I change them to "honest & complete" - That makes them much longer and more verbose, but at least they say what the objects do now...
PeerTube: https://videos.devteams.at/w/n8TDBBWWPJxKaySi7yArxC
YouTube: https://youtu.be/i0ULT8iE9Xk
Some more #Java #refactoring: First, I simplify some unit tests, then I add a common interface for some objects that are all stages of a process. Feedback welcome!
Video on PeerTube: https://videos.devteams.at/w/orkDdvXUez84cdLysUAgfk
Or if you prefer YouTube: https://youtu.be/s6E1dSFHGxs
Refactoring can work wonders for simplifying code
Read more here:
https://www.devleader.ca/2023/12/04/how-to-simplify-your-code-with-effective-code-refactoring/
There comes a time in every developer's life where we're faced with this...
Read more here:
https://www.devleader.ca/2023/11/27/refactoring-legacy-code-what-you-need-to-be-effective/
How do you know when to rewrite it all instead of refactor?
Read more here:
https://www.devleader.ca/2023/11/26/rewriting-vs-refactoring-code-how-to-navigate-the-two/
When should we refactor code?
Read more here:
https://www.devleader.ca/2023/11/24/when-to-refactor-code-how-to-maximize-efficiency-and-minimizing-tech-debt/
After almost a week of refactoring and experimenting with several different approaches, I've updated my Zig nD SIMD vector library to be compatible with the latest Zig 0.15.1, and at the same time cleaned up some internals.
The solution I settled on is a mix of techniques proposed by others, and was needed due to the removal of the struct/namespace-merging syntax in the new Zig version, which this library heavily relies on. I don't like that the new source code is now more than 2x larger and involves a huge amount of duplication to address the many special cases of supported operations for different vector sizes and types. I might still take another pass to eliminate those (by using `@compileError()` for unsupported cases), but that'd be an implementation detail downstream users don't have to care about. I tried AOT code generation as well, but the special case handling made this feel less maintainable...
UPDATE: The only breaking change is the handling of vector swizzles. I had to remove the hundreds of named swizzle functions and replaced them with a single (comptime optimized) `.swizzle(vec, pattern)`, e.g. `.swizzle(vec, "xxyy")`...
If you're interested, the new code is here:
https://github.com/thi-ng/zig-thing/blob/main/src/vectors.zig
The readme contains details about the many supported operations:
https://github.com/thi-ng/zig-thing/blob/main/doc/vectors.md
Installation instructions in the main repo readme:
https://github.com/thi-ng/zig-thing/tree/main
Beyond package management: How Nix refactored my digital life
https://www.jimmyff.co.uk/blog/beyond-package-management-how-nix-refactored-my-digital-life/
#HackerNews #Nix #Package #Management #Digital #Life #Refactoring #Tech #Tips
What are control flags and why haven't you ditched them yet?
Read more here:
https://www.devleader.ca/2023/11/19/remove-control-flag-refactoring-how-to-simplify-logic/
"Extract Method" is one mof the most foundational refactoring techniques for us to use.
Read more here:
https://www.devleader.ca/2024/03/06/extract-method-refactoring-technique-in-c-what-you-need-to-know/
Refactoring code is a critical software engineering skill -- Can you do it?
Read more here:
https://www.devleader.ca/2024/02/29/refactoring-c-code-4-essential-techniques-simplified/