π Seven Ineffective Coding Habits of Many Programmers (Kevlin Henney)
Summary
TLDRIn this insightful keynote, the speaker delves into the nuances of coding habits, emphasizing the importance of clear and effective communication through code. They critique common yet ineffective practices such as verbose comments, overuse of abstraction, and the tendency to append unnecessary terms like 'exception' to class names. The talk advocates for code that is concise, meaningful, and reflective of the domain language, using testing as a means to express intent and functionality. The speaker encourages developers to focus on reducing noise in code and enhancing signal-to-noise ratio for better maintainability and understanding.
Takeaways
- π The speaker humorously opens with the realization that they are the only barrier between the audience and a beer party, setting a light-hearted tone for the keynote.
- π The presentation focuses on 'seven ineffective habits of many programmers', emphasizing the importance of good coding practices and the avoidance of common pitfalls.
- π The speaker discusses the concept of 'noisy code', highlighting how verbosity and unnecessary complexity can obscure the signal-to-noise ratio, making code less readable and maintainable.
- π€ The importance of code readability is underscored, with the speaker encouraging developers to write code that communicates effectively, both to machines and to other programmers.
- π The speaker critiques the overuse of comments in code, arguing that they often add more noise than clarity, and suggests that code should be self-explanatory where possible.
- π The topic of code layout and visual design is broached, with the speaker advocating for a clean design that supports visual thinking and meets the informational needs of the reader.
- π The speaker touches on the idea of 'agglutination' in coding, where long, compound names are formed by stringing together multiple terms, which can dilute the meaning rather than clarify it.
- π The misuse of 'get' and 'set' methods is criticized, with the speaker pointing out that they often do not add clarity and can lead to the creation of poor coding habits.
- π« The dangers of 'under abstraction' are discussed, where the lack of meaningful abstraction can lead to code that is too closely tied to the underlying data structures rather than the domain logic.
- π The speaker references the use of books and language as a metaphor for code, suggesting that just as books should communicate clearly, so too should code.
- π The final takeaway emphasizes the importance of tests as clear specifications of functionality, with the goal of expressing programmer intent and ensuring code clarity.
Please replace the link and try again.
Outlines

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowMindmap

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowKeywords

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowHighlights

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowTranscripts

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowBrowse More Related Video

Communication: Characteristics, Process, Types, 7Cs, barriers to communications, & Importance

Continued Learning: The Beauty of Maintenance - Kent Beck - DDD Europe 2020

The Nature of Communication

Why storytelling matters | Garr Reynolds | TEDxKyoto

Barriers to Communication

Materi Bahasa Indonesia - Diksi (Pilihan Kata)
5.0 / 5 (0 votes)