Tips and Tricks
Programming is a field where tips and tricks are abundant.
IT Hares proudly present their own bag of programming tips and tricks.
Parallel Coding: From 90x Performance Loss To 2x Improvement
April 4, 2018 by • “No Bugs” Bunny
Quote:
as long as serial code provides good-enough response times from end-user perspective – DON’T PARALLELIZE
Another Quote:
out of all the premature optimizations, premature parallelization is the most premature one
Filed under: On.ProgrammingTips and TricksOptimizations
Read moreUsing Parallel (algorithm) Without a Clue: 90x Performance Loss Instead of 8x Gain
March 27, 2018 by • “No Bugs” Bunny
Abstract:
I made an experiment which demonstrates Big Fat Dangers(tm) of implying that parallelization can be made as simple as just adding a policy parameter to your std:: call.
Quote:
it is still necessary to understand what we’re doing
Filed under: On.ProgrammingTips and TricksProgramming LanguagesOptimizations
Read moreC++: Thoughts on Dealing with Signed/Unsigned Mismatch
March 6, 2018 by • “No Bugs” Bunny
Quote:
we’re just narrowly avoiding a disaster without understanding how close we were
Another Quote:
there is a chance that intuitive::lt MIGHT be a good thing to make behaviour of our C++ code to correspond better to our-expectations-when-we’re-reading-it
Filed under: On.ProgrammingTips and TricksProgramming LanguagesOptimizations
Read moreBDT - Automating Your Application Testing in Behavior-Driven Way
January 18, 2018 by • “No Bugs” Bunny
Quote:
Descriptive style takes its roots from the «chain» pattern, in which the methods enclosed in classes return some reference on themselves.
Another Quote:
Business-driven testing or BDT allows non-technical members of any development team a stronger involvement in the development process by allowing them to comprehend test cases and even create their own.
Filed under: On.ProgrammingTips and TricksOn.DevelopmentDevelopment Processes
Read more


