Geek Logbook

Tech sea log book

A short introduction to the art of programming 

Edsger W. Dijkstra – A short introduction to the art of programming  Link: E.W.Dijkstra Archive: A Short Introduction to the Art of Programming (EWD 316) 1. Preface  For those readers who identify the programmer’s competence with a thorough knowledge of the idiosyncrasies of one or more of the baroque tools into which modern programming languages

Python Django Dev To Deployment

After finishing the Udemy Course Python Django Dev to Deployment I would like to list the things I’ve learned during the process and the things I understand that I need to continue learning, or even, creating projects about it. First of all, you have to know that the course is quite long, if you take

The element of programming style

When the book saw the lights, programming wasn’t as important as today. But, some of the ideas around the style of writing are a worth to notice and to know it. For that reason reading the book written by Brian Kernighan and P. J. Plauger are a constant invitation to revisit the way we code,

The elements of programming style: Epilogue

Epilogue There are many good books on languages, algorithms and numerical methods available to those who want to learn programming in greater depth. Our goal was not to teach languages or algorithms, but to teach you to program well.  Programmers have a strong tendency to underrate the importance of good style. Eternally optimistic, we all

The elements of programming style: Documentation

Chapter 8: Documentation The best documentation for a computer program is a clean structure. It also helps if the code is well formatted, with good mnemonic identifiers and labels (if any are needed), and a smattering of enlightening comments. Flowcharts and program descriptions are of secondary importance; the only reliable documentation of a computer program

The elements of programming style: Efficiency and instrumentation

Chapter 7: Efficiency and instrumentation Machines have become increasingly cheap compared to people; any discussion of computer efficiency that fails to take this into account is shortsighted. “Efficiency” involves the reduction of overall cost – not just machine time over the life of the program, but also time spent by the programmer and by the

The elements of programming style: Common Blunders

Chapter 6: Common Blunders A major concern of programming is making sure that a program can defend against bad data. But even with correct data, there is no guarantee that a program will work. In this chapter we will discuss other aspects of making software reliable. Let us summarize the main lessons of this chapter.

The elements of programming style: Input and output

Chapter 5: Input and output Input/output is the interface between a program and its environment. Two rules govern all I/O programming: NEVER TRUST ANY DATA, and REMEMBER THE USER. This requires that a program be as foolproof as is reasonably possible, so that it behaves intelligently even when used incorrectly, and that it be easy

The elements of programming style: Program Structure

Chapter 4: Program Structure Most programs are too big to be comprehended as a single chunk. They must be divided into smaller pieces that can be conquered separately. That is the only way to write them reliably; it is the only way to read and understand them.  Subroutines, functions, and procedures are the “modules,” or