Constants can sometimes help find (certain) errors at compile time instead of runtime: constexpr over const variables; const variables over non-const variables; and macros or literals if you must.
Obviously, constants don't always provide this benefit, but strive to use them where opportunity permits.
Example: https://sigcpp.godbolt.org/z/sjd5vWrPn
(Also, avoid "naked new", but that's for another time.)
#cpp #cplusplus #programming #software #softwarequality
π‘οΈ The thermostat in your house is the epitome of a Balancing Process. It's designed to close the gap between the 'desired' and the 'actual.' Are you closing the gaps in your software processes? #BalancingProcesses #SoftwareQuality
#softwarequality #balancingprocesses
π A Reinforcing Loop can be a virtuous circle or a vicious cycle. Trying to sprint too fast in development? Get ready for a bug apocalypse that slows you down again. #SoftwareQuality #FeedbackLoops
#FeedbackLoops #softwarequality
Remember: improvements are meant to be delivered. That's where the continuous approach really shines. Make every step count. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Achieve high-quality software by exhaustively covering all available scenarios and edge cases. Itβs not about implementing them all, but handling them gracefully. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
In software engineering, mastering proven practices is key. Before you reach for 10x, make sure you've got your footing at 1x. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Every software task needs a clear definition of done. It eliminates wiggle room and avoids unnecessary conflicts. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
In software delivery, bottlenecks are speed killers. But removing them completely can harm quality. It's important to transform bottlenecks into stronger, more flexible paths that allow more work to pass without reducing quality. #10xSoftwareDelivery #SoftwareQuality
#softwarequality #10xsoftwaredelivery
Did you know working on a task can create tunnel vision? A less-biased actor increases the quality of verification. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Developers with basic QA skills will not only speed up delivery but also think of extra edge cases during development. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Don't rush to apply new skills in production. Practice until you're proficient. Your codebase, colleagues, and future 'you' will thank you. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Poorly defined tasks = poor execution. Insist on a clear definition of done before beginning any software task. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Avoid excessive testing. Each test should verify a specific piece of functionality. More isn't always better. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
When faced with a large improvement task, look for opportunities to automate. Code transformers or generators can be a game-changer. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
I'll try something new here: We're going to have the first meeting for a #codequality group in our company of about 20 people. This will include discussions about #SoftwareTesting, #TestAutomation, #ContinuousIntegration, #StaticAnalysis, etc.
Any tips or resources on how to organize such a group? We're three people and we try to come up with a course of action to improve quality. Weβre web devs using #php but that shouldn't stop you from suggesting links, etc.
Thanks!
#codequality #softwaretesting #testautomation #ContinuousIntegration #staticanalysis #php #softwarequality
Don't write off a method because it's difficult. Mastery comes with time, deliberate practice, and patience. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Covering all your bases, either with proper implementation or graceful fallback, is essential to deliver high-quality software. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Your software's test coverage is its lifeline. Never compromise on the quality of your test suite. #SoftwareQuality #10xSoftwareDelivery
#10xsoftwaredelivery #softwarequality
Software of high quality boosts courage and happiness at work. Raise your standards, raise your morale.π©βπ»π¨βπ» #WorkJoy #SoftwareQuality
#ShowerThoughts #OpenSource #SoftwareQuality #ProgrammingLanguages #OSDesign
> with enough eyes, all bugs are shallow
and
> number of bugs β lines of code
huh. So, with enough code, there are so many bugs that all eyes are blind!
#opensource #softwarequality #osdesign #programminglanguages #showerthoughts