Holy crap! I just noticed we're up to 130 unit test suites in @pidgin 3 now! Compare that to the 7 suites we have in Pidgin 2!
This is what we've been talking about when we've been saying that we're making the code easier to maintain. The code has been reworked so that we can actually unit test way more of it and we will continue to add more tests as we move forward!
#Development #Launches
ESLint now supports CSS linting · The @eslint/css plugin is based on CSSTree https://ilo.im/162ex6
_____
#CSS #Code #Maintainability #Linter #Plugin #ESLint #CSSTree #Npm #WebDev #Frontend
#Development #Techniques
Approaches to the ‘&’ selector in CSS · More maintainable, readable, and clever CSS nesting https://ilo.im/1628p2
_____
#ModernCSS #Maintainability #Readability #Ampersand #CssNesting #Framework #WebDev #Frontend #CSS #Sass
#Development #Techniques
Approaches to the ‘&’ selector in CSS · More maintainable, readable, and clever CSS nesting https://ilo.im/1628p2
_____
#ModernCSS #Maintainability #Readability #Ampersand #CssNesting #Framework #WebDev #Frontend #CSS #Sass
#Development #Techniques
More readable JavaScript with named parameters · “Named parameters can drastically improve your code.” https://ilo.im/16211p
_____
#Programming #Coding #JavaScript #Functions #Readability #Maintainability #WebDev #Frontend #Backend
@ai6yr nodds in agreement whereas the "akshual coding" is "relatively simple" if one doesn't mind #readability, #maintainability or using understandable variablr names...
Testing can be automated if one builds and documebts the tests that is...
"#AI" can't do this because those #LLM|s don't learn organically but merely act as "#StochasticParrot" and not as intelligent beings that is able or even willing to transfer * exchange information freely...
@OpenComputeDesign same with many other things.
#GluedInBatteries instead of #ToolfreeSwappableBatteries are just an #excuse for #AntiRepairDesign. points at #Vaio #P11Z & #Fairphone #FP3plus
#SolderedDownRAM & #SolderedDownSSDs were never valid outside #EmbeddedDevices that need to survive harsh envoirments. points at a rugged, ATEX-certified PTT radio for industrial plants
#Repairability saves lives! points at Medical Devices
Want to have more #battery #runtime? We have solutions for that for decades. points at #EeePC and a tool-free, swappable, #aftermarket, high-capavity battery
Personally I'm so pissed off amidst the ongoing #Enshittification that I really need to get the #NUCbook off the ground before my #X230tablet dies.
https://github.com/KBtechnologies/NUCbook
The Call of the Monolithic Codebase: Are monoliths cool again?
https://kmcd.dev/posts/call-of-the-monolith-codebase/
#opinion #monolith #architecture #microservices #programming #maintainability #bazel
@FirewallDragons I think #RightToRepair must necessitate any #RightToModify, because #RepairReuseRecycle necessitates #Upcycling and thus using #AftermarketFirmware.
Needless to say I think even that is overreach, as regulators like @BNetzA not only can but will enforce spectrum regulations and pursue violators by all legal means, so it's not as if there is a rampant flood of #SpectrumViolations amd no means to stop them - far from it.
@landley @dalias I mean, isn't the whole point of #Linux being written in #C to have #ReadableSource that is #maintainable?
You’re taking over a massive website and need to find an economic way to maintain content and code. However, you’re in hell and can only choose one of four options. Which one do you pick?
From the archives:
DRY CSS: How to Use Declarations Just Once, Effectively:
The research project I'm in is newly formed. I'm the one with the main responsibility for #bioinformatics analyses. Potentially the workflows I create will be used by people joining the group going forward, and these PhD students etc may do some bioinformatics but have other specializations. Is anyone else in a similar position? Any best practice recommendations for #reproducibility, #maintainability, ensuring everyone in the group gets access to the tools we develop?
@bagder same reason for #Linux I guess and same reason why I do all the #OS1337 code in #bash with only .config makefiles where needed:
Readable and thus easy to #audit code allows for #transparency, which is vital for #maintainability and #security...
After all, mistakes do happen and I'd rather have it easy find and fix than optimize every bit at the cost of unmaintainable code.
Mike Driscoll: Learning About Code Metrics in #Python with Radon
Nice introduction to #radon:
"""
You can use Radon to help you find complex code in your code base.
[...]
Here are the four commands that radon currently can use:
cc: compute #Cyclomatic #Complexity
raw: compute raw metrics
mi: compute #Maintainability Index
hal: compute #Halstead complexity metrics
[...]
"""
https://www.blog.pythonlibrary.org/2023/09/20/learning-about-code-metrics-in-python-with-radon/
This week on our @pybites podcast: Code Smells
I talk about 15 things to look out for in your (and others) code to make it cleaner and more maintainable over time.
I hope this is helpful for you:
https://pybit.es/articles/write-more-maintainable-python-code-avoid-these-15-code-smells/
Happy to hear your thoughts on this ...
If you're not making an effort to ensure #maintainability, #repairability, #reusability and #durability of new things when we're ramming steadily into the "find out" of the "fuck around & find out" situation with environmental and ecological abuse, you're either irresponsible or malicious.
It is inexcusable to make #EWaste (and most other waste) now. It never was excusable, but the reasons why hadn't yet made themselves blatantly obvious to all observers. Now they have.