In this talk we will be talking about how developers can indirectly help one another or their future-selves by writing and maintaining clean understandable code.
efficient. The logic should be straightforward to make it hard for bugs to hide...” - Bjarne Stroustrup.. • “Clean code is simple and direct. Clean code reads like well-written prose. Clean code never obscures the designer’s intent but rather is full of crisp abstractions and straightforward lines of control. ” - Grady Booch. • “Clean code can be read, and enhanced by a developer other than its author.” - Dave Thomas. • “You know you are working on clean code when each routine you read turns out to be pretty much what you expected...” - Ward Cunningham
writing code is well over 10 to 1. We are so constantly reading old code as part of the effort to write new code. …[therefore,] making it easy to read makes it easier to write. ” - Robert C. Martin.
they should be small. The second rule of functions is that they should be smaller than that.” But how small is small ? Functions should do one thing. They should do it well. They should do it only.