Week in Review: Readable Code

readable-codeThis week, we cover readable code. So, readable code is a technique used to help developers understand each others code.

It does have limitations and so can be used together with code comment.

Readable code is done by putting context into the code. So, variable name, function name and class name reflect the context of the application.

It is very important to be consistent when writing readable code. Otherwise it will create confusion.

There is also a very interesting view on junior vs senior developer view of readable code.

Junior developer are still learning the programming language and is more concerned about getting the correct syntax.

Senior developer on the other hand, have more experience with the programming language and is able to put context into his/her code.

What is your experience with Readable Code ?