Tags: code

Programming Basics: The Function Signature

See how paying attention to your function signature, utilizing language features where possible and using immutable data structures and pure functions can get you pretty far. The basic unit of programming is the function. You build your program one function (or method) at a time. The smallest thing...
Read 0 Comments

Code Optimization: If-Less Programming

I have often encountered code littered with lots of nested if and else statements. I consider it a serious code smell. Deeply nested code, especially if the nesting is due to conditionals, is very difficult to follow, wrap your head around and test. It even makes it difficult for the compiler or...
Read 0 Comments

Pages

Click Here!