Jeremiah Flaga My thoughts and experiences on programming, life, atbp.

The Gospel of Uncle Bob and Kent Beck: Clean Architecture and TDD


Fear that produces NO FEAR


“Code as if the one who will inherit your code base is a psychopathic mass murderer who knows your home address.”

— Anonymous

“Code as if the one who will inherit your code base is a gossip who has lots of gossip friends.”

— Anonymous

Architecture is the art of drawing lines -- Uncle Bob Martin


“Architecture is the art of drawing lines”

— Robert Martin

I heard that from Uncle Bob’s “Architecture: The Lost Years (Ruby Midwest 2011)” talk.

This is the diagram that he uses in his talk:


Lots of lines!

Do you see those two black lines in there?

Clean Architecture sample projects


This multi-language programming world of ours is getting in the way of doing our work of implementing software solutions to whatever problems we are tasked to solve.

As Uncle Bob pointed out in “The Last Programming Language”, the other fields have agreed use only one notation — mathematicians, musicians, and others already have. We eventually also will have to agree to use only one notation.

But for the mean time, I think all-programmers-learning-or-being-aware-of the Clean Architecture model might serve as an initial solution to this multi-language-programming-world problem of ours.

Clean Architecture: An equivalent to one language(?)


In one of Uncle Bob Martin’s talks, “The Last Programming Language”, and in some of his blog posts, for instance, “The Churn”, he is suggesting that we, programmers, need to choose one or two programming languages that we can use as our one notation for writing code. (He was suggesting Clojure.)

But, at the end of the talk, he said that it might not happen today. Maybe in the future it will — our children (read future programmers) might program using only one (or two) languages for (almost) everything.

I don't know where to go...


What is the purpose of living!?

Why do we have to live rather than not?

Why is "dynamic programming" called by that name?

Another trivia!

In about 42:10 minutes in Lecture 2 of MIT OCW 6.0002, Prof. John Guttag inserted in his lecture the history of dynamic programming — why is it called “dynamic programming”?

He said that the inventor, Richard Bellman, chose the name “dynamic programming” because

it did not mean anything. The inventor was doing mathematics and at that time, he was being funded by a part of the defense department that didn’t approve of mathematics, and he wanted to conceal that fact…

I finished MIT OpenCourseWare 6.0001! Yehey!


Why do protestants and/or evangelical Christians believe in Sola Scriptura?

During his lectures on “The Reformation and Fundamentalism History” at Malaybalay, Bukidnon last October 2016, Dr. Phil Kamibayashiyama said that if asked why we, evengelical or fundamentalist Christians, believe in Sola Scriptura, a good answer would be like that of Luther’s:

“… I do not accept the authority of popes and councils, for they have contradicted each other — my conscience is captive to the Word of God …”

— Martin Luther

(Note: Some Christians are celebrating the 500th Anniversary of the Reformation this year, 2017)

Why are they calling people as animals at MIT?


I was taught, when I was a child, that people are special beings. That they are different from animals. By animals I mean cats, dogs, cows… You know what I mean. :smile:

Why would some professors at MIT categorize people as animals?