Clippings of 2019 Aug
Table of Contents
- Programmer Test Principles – Kent Beck – Medium Testing
- What is Software Design? by Jack W. Reeves ©1992 C++ Journal Design Software
- Going off the Rails into Elixir - Technical.ly Baltimore Elixir
- Why learning more isn’t always better - The Startup - Medium Learning
- Big Ball of Mud Software Engineering
- Things Nobody Told Me About Being a Software Engineer · Ana Ulin Software Engineering Career
- The Parable of the Two Programmers · RealMensch Software Engineering Career
- How to Slow Down to Go Faster Than Ever in Software Development Software Engineering
- The Most Common Type of Incompetent Leader and Make Them Your Anti-Mentor Leadership
- Level Up - a curated newsletter for leaders in tech. Leadership
- #73：新晋管理者的自我修养 - UX Coffee 设计咖 Leadership Management
As always, a masterpiece from Kent Beck. Following the same ideas as Values and Practices in XP, there are Principles vs. Details in Testing. In this post, Kent explained why discussing testing principles is more effective and listed some common principles.
- Minimize programmer waiting.
- Run reliably.
- Predict deployability.
- Respond to behavior changes.
- Not respond to structure changes.
- Be cheap to write.
- Be cheap to read.
- Be cheap to change.
What is Software Design? by Jack W. Reeves ©1992 C++ Journal Design Software
From my personal experiences, software engineering is very different from other types of engineering, say buildings or mechanics. I found reasons for these differences in this paper.
- Engineering is more about how you do the process than it is about what the final product looks like.
- The goal of any engineering design project is the production of some documentation.
- To summarize:
- Real software runs on computers.
- It is a sequence of ones and zeros that is stored on some magnetic media.
- It is not a program listing in C++ (or any other programming language).
- A program listing is a document that represents a software design.
- Compilers and linkers actually build software designs.
- Real software is incredibly cheap to build, and getting cheaper all the time as computers get faster.
- Real software is incredibly expensive to design.
- Given that software designs are relatively easy to turn out, and essentially free to build, an unsurprising revelation is that software designs tend to be incredibly large and complex.
- Additionally, software designs are almost always constantly evolving.
- Programming is a design activity
- a good software design process recognizes this
- a good software design process does not hesitate to code when coding makes sense.
- Coding actually makes sense more often than believed.
- Often the process of rendering the design in code will reveal oversights and the need for additional design effort.
- The earlier this occurs, the better the design will be.
- Since software is so cheap to build,
- formal engineering validation methods are not of much use in real world software development.
- It is easier and cheaper to just build the design and test it than to try to prove it.
- Testing and debugging are design activities
- they are the software equivalent of the design validation and refinement processes of other engineering disciplines.
- A good software design process recognizes this and does not try to short change the steps.
- There are other design activities -- call them top level design, module design, structural design, architectural design, or whatever.
- A good software design process recognizes this and deliberately includes the steps.
- All design activities interact.
- A good software design process recognizes this
- A good software design process allows the design to change, sometimes radically, as various design steps reveal the need.
- Many different software design notations are potentially useful -- as auxiliary documentation and as tools to help facilitate the design process.
- Software development is still more a craft than an engineering discipline.
- This is primarily because of a lack of rigor in the critical processes of validating and improving a design.
- Ultimately, real advances in software development depend upon advances in programming techniques, which in turn mean advances in programming languages.
- C++ is such an advance. It has exploded in popularity because it is a mainstream programming language that directly supports better software design.
- C++ is a step in the right direction, but still more advances are needed.
I've read so many articles that preaches Elixir. Most of them are just focusing on the language features, like pipe operators, pattern matching, etc.. I'm not saying these languages features are not good, but I think we are missing the key point here: the business value of switching to Elixir.
That's why I'm excited to see this post, as it explains exactly the business value of switching to Elixir and the ecosystem around this new language.
- Elixir: a toolset that is perfect for data-driven applications.
- Most modern web applications are just that, data driven. The application’s flow is a function of the data:
- data provided by external systems,
- data provided by the user,
- data that is computed.
- Elixir ecosystem is a great environment for building today’s web applications.
- Elixir’s functional programming,
- Erlang’s solid foundation
- the power and ease of use of Phoenix
- Elixir helps our clients and ourselves by lowering several costs in several ways.
- the language is stable and won’t change drastically on the developers while they are building your application
- resource utilization and fault-tolerance
- the developer friendly syntax and functional programming
- with Elixir, you are sure to attract the best staff.
I have this feeling that learning is my own biggest enemy now. I spend most of my time reading books, listening to podcasts, watching conference videos. I have little time to write or build new things.
After reading this post, I'm more certain about my feeling.
- Knowledge has no power without action.
- The key to success appears to be regulating our knowledge intake, while putting the information we acquire into action.
- The less we obsess about staying up to date on the latest books, podcasts and informational trends, the more time we have to create.
Now, I'm trying to reduce my time spent on learning by skimming through blog posts, quitting Twitter/RSS, etc.
With the time freed from learning, I can write more and create more. And it feels better!
If you are interested in similar ideas, Consume less, create more would be a great read.
Big Ball of Mud Software Engineering
Again, a great paper from the past. The most impressive thing I learned from it is that Maintenance is learning.
- Three levels of learning in the context of systems.
- This first is habit, where a system dutifully serves its function within the parameters for which it was designed.
- The second level comes into play when the system must adapt to change. Here, it usually must be modified, and its capacity to sustain such modification determines its degree of adaptability.
- The third level is the most interesting: learning to learn. With buildings, adding a raised floor is an example. Having had to sustain a major upheaval, the system adapts so that subsequent adaptations will be much less painful.
It resonates with my current understanding of Agile. To me, Agile = Continuous Learning.
Things Nobody Told Me About Being a Software Engineer · Ana Ulin Software Engineering Career
That, 15-ish years in, my main professional contributions could be summarized as:
- nudging folks to write better and/or more tests,
- getting people to talk to each other.
This summary resonates with my personal experiences perfectly.
- I learned TDD at school so I thought everyone must had been doing it all the time. But it turned out not to be the case at all. Then learning how to write better tests and how to nudge others to write more tests became the major parts of my career.
- But testing is not the end of the story. It's just the beginning. Even if developers write enough tests, project could still fail. I learned this lesson the hard way. Then I found the root cause: team members don't talk to each other often enough. So naturally, I started learning how to talk to people and how to get people to talk to each other.
I am and still will be in this great journey. If you have similar experiences, I'm more than happy to hear them.
The Parable of the Two Programmers · RealMensch Software Engineering Career
I've been wondering this for quite some time: why are some experienced programmers less skillful? This parable is an interesting read if you have the same question.
Experience does matter. But so does underlying skill.
这篇对 ThoughtWorks 总监咨询师熊节的采访也讨论了类似的话题： 基本功可能比经验更加重要 。
这会带来什么效应呢？别人会看到这个人价值很大。比如我 2013 年培养的毕业生，在我这培养了 1 年，他就可以去某知名大公司做咨询，去教该公司那些号称有多少年经验的程序员怎么做软件，这些老程序员还很服他。在我这工作 3 年，这家大公司出高薪去挖他，结果还没挖动。所以这个对个人价值的提升是非常明显的。
How to Slow Down to Go Faster Than Ever in Software Development Software Engineering
- The only way of going faster at a sustainable pace is slowing down, in three important areas:
- People for improving professionalism and craftsmanship
- The process for improving adaptation and efficiency
- Product for improving automation and quality
I encountered similar ideas in many different places recently:
Being a leader is hard. Being promoted to a leadership role without noticing it is even harder. As you can see from this report:
- The key derailment characteristics of bad managers are well documented and fall into three broad behavioral categories:
- “moving away behaviors”
- which create distance from others through hyper-emotionality, diminished communication, and skepticism that erodes trust;
- “moving against behaviors”
- which overpower and manipulate people while aggrandizing the self;
- “moving toward behaviors”
- which include being ingratiating, overly conforming, and reluctant to take chances or stand up for one’s team.
- Absentee Leadership
- Absentee leaders are people in leadership roles who are psychologically absent from them.
- Research shows that it is the most common form of incompetent leadership.
- Research shows that being ignored by one’s boss is more alienating than being treated poorly.
I can tell you how hard it is to be led by an absentee leader. But the more important lesson is to learn from their behaviors and don't become a leader like them, like Claire Lew explained in this post:
- "negative morality"
- Seeing what you don’t want to be like is more powerful than what you do want to be.
- The push is greater than the pull.
- learning from mistakes is markedly more powerful than learning from successes
- Ask yourself:
- Who is the worst boss I’ve ever had? Then reflect.
- In what ways are you consciously or unconsciously reacting to your experience with this person?
- Are those reactions to this person – your "anti-mentor" – helping your team? Or, are they hurting?
Speaking of leadership, I would recommend this newsletter from Patrick Kua. I learned a lot from his talks and blog posts before. Then, he started publishing this newsletter about tech leadership. So I became a subscriber naturally. If you are also interested in tech, leadership, management, subscribe it!
#73：新晋管理者的自我修养 - UX Coffee 设计咖 Leadership Management
最后，推荐这一期 UX Coffee，他们讨论了设计师转至设计经理岗位时遇到的种种问题。虽然是来自设计师的讨论，但是管理的思路都是相通的，同样的问题在开发、项目管理上都会碰到，这些讨论都很有借鉴的价值。
- 一线员工可能不了解公司战略信息，1:1 的时候给到
- IC (Individual Contributor) 要站在更高的层次看自己的工作