James Perkins

Learn To Code with James

17Apr 2021

Why flag parameters suck

When coding people tend to use flag parameters to drive their functions, without considering that they absolutely suck! They cause more trouble when a you write complex functions or a codebase that is large in nature, because the readability is just terrible let me explain.