Jeren Hicks, Tyler Morten, Jerry Nixon, and Caleb Larsen have Sessions on Software Craftsmanship at Nebraska.Code().
Jeren Hicks, Tyler Morten, Jerry Nixon, and Caleb Larsen have Sessions on Software Craftsmanship at Nebraska.Code().
#python #programming #refactoring
Reached the point where — after days of work — unit tests break again. In the same place as they did before the big rewrite.
(Checks notes)
Oh! Now the underlying data structures aren’t a horrible mess and I can actually apply the fix that all those rewrites enabled. I think.
Nested contexts of todo-lists are hard.
Don't comment bad code rewrite it.
— P. J. Plaugher, Brian W. Kernighan
Don't comment bad code rewrite it.
— P. J. Plaugher, Brian W. Kernighan
Code smells.
— Martin Fowler
GitHub for Beginners: Code review and refactoring with GitHub Copilot.
buff.ly/HGOZOO1
#github #githubcopilot #ai #codereview #refactoring #programming #aiassistant #learning
GitHub for Beginners: Code rev...
DRY Don't Repeat Yourself Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
— Dave Thomas, Andy Hunt
Elevate Your Software Engineering Skills: Essential Reads and Resources
In the ever-evolving landscape of software development, continuous learning is paramount. This curated list of books, podcasts, and online communities will not only sharpen your technical skills but a...
https://news.lavx.hu/article/elevate-your-software-engineering-skills-essential-reads-and-resources
What is refactoring, why is it important and how can you get really good at it? In this Making Tech Better podcast episode, I spoke to @emilybache about enhancing the skills and culture of your teams, to make your code easier to understand and cheaper to modify.
You can listen here (subtitles on screen): https://youtu.be/ZcEz8cA017M?si=tYhdCbp851oiyLSz
One danger of a too transparent box used for TDD is that tests get too coupled to a specific implementation and thus hinder refactoring and evolution. ie, taking the soft out of software.
Sure you are aware of that, but novices easily fall into that trap, when they not have learned enough about refactoring towards simpler code.
Don't live with broken windows.
— Andy Hunt, Dave Thomas
In recent years every spring seems to turn into a period of _massive_ refactoring & restructuring in #ThingUmbrella — maybe it's a form of spring cleaning, even though the reasons[1] are not seasonal... Currently spending my nights reworking the https://thi.ng/vectors package (likely one of the most comprehensive vector packages available for TS/JS) and trying out different splits/structures, testing their impact on package sizes and usability in existing downstream packages. Currently over 3000 source files with uncommitted changes... aaaarrrgghh!
Most functions (vector operations) in this package exist in multiple versions (many code generated, but now in need to be updated): Generic n-dimensional, loop-free, optimized 2D/3D/4D versions and strided versions for manipulating vectors views of larger nD data buffers (supporting all kinds of data layouts, incl. AOS, SOA, hybrid...)
#Java Live Coding Stream
In an hour (6pm UTC) I'll be continuing work on the event-sourcing aspect of JitterTed's TDD Game online (https://tdd.cards).
Join me on Twitch for Java, #EventSourcing, #TDD, #Refactoring, mistakes, rants, and more: https://jitterted.stream
New post:
Sprouting or wrapping?
https://codesai.com/posts/2025/03/sprouting-or-wrapping
Don't comment bad code rewrite it.
— P. J. Plaugher, Brian W. Kernighan
Code smells.
— Martin Fowler
Republishing an old Codesai's post on Dev community:
On code smells catalogues and taxonomies
https://dev.to/trikitrok/on-code-smells-catalogues-and-taxonomies-3ba6
I started a probably-needless #software #refactoring on Friday and I have absolutely no idea where I am now.
I remember I wanted to add...something to it and I couldn't because of how it was organized. But I didn't have a clear idea then of how it SHOULD be organized and I have even less of an idea now.
But I'm stuck #wfh for 3 days this week, so maybe I can puzzle it out.
One thing for my job I’m looking forward to about #AI: Refactoring large systems
Doing a refactoring that involves hundreds of classes and multiple changes of infrastructure has been a thing that can take weeks, even months.
However, if you have good test coverage, you can let an LLM can do the drudge work for you and just verify it did what it said it did.
TTD is a must anyway, if you use LLM’s for helping you werite code.
#programming #refactoring #unittests