This is called hidden master piece ( code that broke production )
this is why you need functional programming or as the C++ folks call it, value semantics, to make your code reproducible with just input data. Generate random data and teat your code. In Haskell and Erlang there is a library called Quickcheck, which does this random testing with Invariants AKA properties of your code (don’t confuse them with properties of objects) example: a sorting function, you know that a sorting algorithm that works is idempotent so you test for that against random data, sort(array) == sort(sort(array)) Quickcheck generates thousands of random inputs according to a criteria, and test them then when it finds one braking the code, simplifies or minimizes the data and tells you what it is so you can debug against it.
always like that 😂
Hi, Hope you are doing great. I am glad to mention that, we are a team of professional Web developers team of web designers. CyberMarrow Infosec is dedicated to transforming the world of cybersecurity through innovation and simplifying implementation using DevOps. With a focus on information security and risk management, we assist leading finance and banking organizations in addressing the latest security challenges. Our customer-centric approach and expertise set us apart in the cybersecurity industry.
🫡🤚
Hi everyone! 🟣⚫️We are MetVibe —bringing innovative web development and IT solutions to the market! Follow our LinkedIn page for industry insights, client success stories, and expert tips to grow your business. Let’s connect and build something great together!
My code is like a well-trained dog—obedient and always follows commands. Production code is like a puppy that always gets into places it shouldn’t and requires constant attention to avoid making a mess.
Sr. Software Engineer @Thoughtworks | React Native | React | Next.js | Javascript | Typescript
5mohttps://www.instagram.com/javascript_essentials/