From 246d0f921bbc3e87103f59fc8b7f8d2cb2bc9f76 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 15 Mar 2023 00:59:30 +0200 Subject: Update content for html --- notes/the-pragmatic-programmer.html | 46 ++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 16 deletions(-) (limited to 'notes/the-pragmatic-programmer.html') diff --git a/notes/the-pragmatic-programmer.html b/notes/the-pragmatic-programmer.html index 54d52a24..5e0ee580 100644 --- a/notes/the-pragmatic-programmer.html +++ b/notes/the-pragmatic-programmer.html @@ -9,14 +9,26 @@

"The pragmatic programmer" book notes

-

Last updated 2.6.2022

-

Think about your work while you are doing it. Every day on every project. Have a feeling of continuous improvement.

+

Published at 2023-03-15T00:55:20+02:00

+

These are my personal takeaways after reading "The Pragmatic Programmer" by David Thomas and Andrew Hunt. Note that the book contains much more knowledge and pearls of wisdom and that the following notes only contain points I personally found worth writing down. This is mainly for my use, but you might find it helpful too.

+
+         ,..........   ..........,
+     ,..,'          '.'          ',..,
+    ,' ,'            :            ', ',
+   ,' ,'             :             ', ',
+  ,' ,'              :              ', ',
+ ,' ,'............., : ,.............', ',
+,'  '............   '.'   ............'  ',
+ '''''''''''''''''';''';''''''''''''''''''
+                    '''
+

+

Think about your work while doing it - every day on every project. Have a feeling of continuous improvement.

No one writes perfect code, including you. However:

-

Erlang: Defensive programming is a waste of time. Let it crash. "This can never happen" - don't practise that kind of self deception when programming.

-

Leave assertions in the code even in production. Only leave out the assertions causing the performance issues.

-

Take small steps, always. Get feedback too for each of the steps the code does. Avoid fortune telling. If you have to involve it, then the step is too large.

-

Decouple the code (e.g. OOP or functional programming). Prefer interfaces for types and mixins for class extension over class inheritance.

+

Erlang: Defensive programming is a waste of time. Let it crash. "This can never happen" - don't practise that kind of self-deception when programming.

+

Leave assertions in the code, even in production. Only leave out the assertions causing the performance issues.

+

Take small steps, always. Get feedback, too, for each of the steps the code does. Avoid fortune telling. If you have to involve in it, then the step is too large.

+

Decouple the code (e.g. OOP or functional programming). Prefer interfaces for types and mixins for a class extension over class inheritance.

-

Don't think outside the box. Find the box. The box is larger than you think. Think about the hard problem at hand. Do you have to do it a certain way or do you have to do it at all?

+

Don't think outside the box. Find the box. The box is more extensive than you think. Think about the hard problem at hand. Do you have to do it a certain way, or do you have to do it at all?

Do what works and not what's fashionable. E.g. does SCRUM make sense? The goal is to deliver deliverables and not to "become" agile.

Continuous learning

-

Add new tools to your repertoire every day and keep the momentum up. Learning new things is your most important aspect. Invest regularly in your knowledge portfolio. The process of learning extends your thinking it does not matter if you will never use it.

+

Add new tools to your repertoire every day and keep the momentum up. Learning new things is your most crucial aspect. Invest regularly in your knowledge portfolio. The learning process extends your thinking. It does not matter if you will never use it.

Think critically about everything you learn. Use paper for your notes. There is something special about it.

Stay connected

-

It's your life, you own it. Bruce Lee once said: "I am not on the world to life after your expectations, neither are you to life after mine."

+

It's your life, and you own it. Bruce Lee once said:

+

"I am not on the world to life after your expectations, neither are you to life after mine."