Minimalism in programming

Minimalism is the new dope in the real world.

Here is the few minimalist approach you can follow in the world of programming.

DRY – don’t repeat yourself

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

KISS – Keep it simple, stupid

The simplest explanation tends to be the right one.

Yagni – You Aren’t Gonna Need It

The art of saying No. Don’t build everything customer/manager ask. Think more than twice and analyse before building a feature & importance of its existence.

Break the number of lines

Break the number of lines in coding when it exceeds N number of characters (mostly to fit in small or medium size screens).

Use access specifiers

Use access specifiers public or private whenever applicable – to avoid unnecessary flow of data here and there.

Naming Conventions

Do proper naming for class, method or variables. Prepare standard naming conventions which suits you.

Version Control System

Choose the right version control if you are doing collaborative work.

Don’t comment the unused code

Don’t comment out any code for future reference – just delete it – if have version control, you can get at any point of time. Or tag the commit for quick access.

Make Abstraction

Reuse the component if possible. Don’t copy paste the entire method just to change one section of the code. Think how you can handle it.

To get latest updates you can follow or subscribe! #peace

Top 5 books every Web Developer should read

So many books, so little time.

One of my mentors said to me, to read a complete book every month. He suggested me to read at least 2 books each month.

  • One book for technical stuff
  • One book for non technical stuff

Thanks Uday. It’s a good guidance at the right time in the start of my career.

I took that guidance seriously and started to read books.

I used to track the books I read in good reads website. You can find the list of books in my goodreads profile.

Coming back to the theme of this post.

Here is the list of my favorite books related to web development as well as General professional development.

The Clean Coder: A Code of Conduct for Professional Programmers

Image result for The Clean Coder: A Code of Conduct for Professional Programmers

Author: Robert C. Martin

The Art of Readable Code

Image result for The Art of Readable Code

Author: Dustin BoswellTrevor Foucher

Don’t Make Me Think, Revisited: A Common Sense Approach to Web Usability

Image result for Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability

Author: Steve Krug 

JavaScript: The Good Parts

Image result for JavaScript: The Good Parts

Douglas Crockford

Even Faster Web Sites

Image result for even faster web sites

Author: Steve Souders

Disclaimer: The ordering doesn’t related to quality of book. Its purely sorted based my personal favorite.

You can start with any of the book. Comment your favorite book in the comment section below.

To get latest updates you can follow or subscribe! #peace