Jens Hannemann · @JensHannemann
100 followers · 369 posts · Server mastodon.online

literally saved my butt during my final PhD phase. Simulation results (for a waveguide) were not as expected for our novel method. I was pretty sure my code was correct because of . Dug deeper and found a relatively obscure theorem on integral representations I needed to apply. Applied the new math, and presto. Without confidence in my code, I would have probably abandoned the method and possibly the whole project.

#DBC #DesignByContract

Last updated 2 years ago

Jens Hannemann · @JensHannemann
100 followers · 365 posts · Server mastodon.online

If you're serious about programming, try to use to the fullest extent your language supports it. Your future debugging self will thank you. At the very least, liberally use throughout your code to state what should be true at any given point in your code.

en.wikipedia.org/wiki/Design_b

#softwareengineering #DBC #assertions #DesignByContract #objectoriented

Last updated 2 years ago

Sandeep Choudhary · @sandeepk
25 followers · 71 posts · Server toots.dgplug.org