Filter
Exclude
Time range
-
Near
19 Oct 2025
Replying to @elonmusk
Logical consistently algorithm of a AI can unfortunately lead to loop hole error! How to prevent it and achieve sanity to AI response; - Green unit test The minimal failing test must pass in every run on CI and locally. - Regression suite Run the full regression and boundary suites; no reappearance of the failure across the defined input classes. - Trace equivalence Compare pre-fix and post-fix traces for the same input; confirm the control-flow and state transitions are corrected. - Stability under stress For concurrency-related issues, run prolonged stress tests with varied scheduling; failure rate should be zero or acceptably reduced. #AlgorithmReliability #LogicBugs #DefensiveCoding #LogicAudit #ReproducibleBugs #FixAndVerify
1
4
761
1 Aug 2023
1/4 🧵Last month, our colleague, Radu, put his teaching hat on to lead a dynamic #CodingWorkshop at #ACSSummerSchool at UPB. Participants embarked on a coding adventure through #Kotlin, #SOLIDprinciples, and #DefensiveCoding.
1
1
26
26,666
Finally… a new Zen of Defensive Programming blog post! This time I am diving into the use of constants and their impact on code safety. #programming #ProgrammingParadigms #DefensiveCoding guidohenkel.com/2023/04/zen-…
1
2
638
24 Mar 2023
Code defensively to handle unexpected inputs or errors. Don't assume everything will work perfectly. #programming #code #defensivecoding
3
260
I think it is time to remind people of this cool blog series called "Zen of Defensive Programming" #programming #ProgrammingParadigms #DefensiveCoding guidohenkel.com/2022/04/zen-…
2
359
I know, I should publish a new installment in my "Zen of Defensive Programming" series, but who has the time? I'll get to it eventually, though… Meanwhile, if you haven't checked it out yet, here is what I've got so far. guidohenkel.com/2022/04/zen-… #programming #DefensiveCoding
2
2
You can grab my Defensive Coding Bootcamp slidedeck for #NDCMelbourne here #defensivecoding #security slideshare.net/quorralyne/de…

1
3
"Zen of Defensive Programming" continues. This week with a rule: One operation per line! Read the post to see, why it makes code better and safer. #programming #ProgrammingParadigms #DefensiveCoding guidohenkel.com/2022/06/zen-…
1
"Zen of Defensive Programming" continues. This week with a rule: One operation per line! Read the post to see, why it makes code better and safer. #programming #ProgrammingParadigms #DefensiveCoding guidohenkel.com/2022/05/zen-…
2
2
3
"Zen of Defensive Programming" continues with a closer look at "Ternary Operators" #programming #ProgrammingParadigms #DefensiveCoding guidohenkel.com/2022/05/zen-…
2
3
Today we dive into specific examples to illustrate what defensive programming habits you can build to improve your code. More importantly, I’ll also explain, why they are a good choice. #programming #ProgrammingParadigms #DefensiveCoding guidohenkel.com/2022/05/zen-…
2
1
I just posted another entry in my "Zen of Defensive Programming" series, this time discussing code safety, assertions, guard clauses, and the like! #programming #ProgrammingParadigms #DefensiveCoding guidohenkel.com/2022/04/zen-…
1
1
Why you should not turn off compiler warnings and actually elevate your warning level. This and more in my new blog post "Zen of Defensive Programming" #programming #programmingparadigms #defensivecoding guidohenkel.com/2022/04/zen-…
1
Here's the latest installment in my "Zen of Defensive Programming" series. Let's talk about compilers, warnings, compatibility and debugging for a moment… #programming #programmingparadigms #DefensiveCoding guidohenkel.com/2022/04/zen-…
1
1
Don't let anyone tell you unit tests are for testing public interfaces only. Remind them to tell that to the bug that is lurking in the private implementation, untested and undiscovered! #programming #ProgrammingParadigms #DefensiveCoding
1
2
The next installment in my "Zen of Defensive Coding" blog series is here! This time, I'm covering code readability and maintenance. #programming #ProgrammingParadigms #DefensiveCoding guidohenkel.com/2022/04/zen-…
1
5
A good programmer is someone who looks both ways before crossing a one-way street — Doug Linder #defensivecoding
1
3
11 Jan 2019
Day 4 #100DaysOfCode The search box on PHP site is now functional. But I want to make the output prettier and add a little more security - I feel like I am being too trusting of my users to not break anything! #defensivecoding
5