I recently spent ages trawling through my codebase, completely unable to understand why my build was crashing with null reference error at a certain point. Eventually I realised what it was (it always seems so obvious when it hits you); I had tabbed through an IntelliSense suggestion without properly reading it, and set a for loop to break with a completely inappropriate (but similarly-named) variable.
IntelliSense is an absolutely invaluable productivity tool for me but lesson learned to handle it with care! If it's causing bugs that have to be investigated & fixed, it's (at worst) slowing me down rather speeding up development. Taking the time to double-check the suggestions are absolutely worth the few extra seconds it takes!
Top comments (0)