Go Summarize

How Senior Programmers ACTUALLY Write Code

how senior programmers write code#senior programmer code#how senior programmers code#senior programmers#how programmers write code#senior programmer vs junior#programmer#programmers#senior programmer#refactoring#scrum#jira#github issues#kanban#coding#code
1M views|2 years ago
💫 Short Summary

In the video, the speaker discusses the importance of writing good code to be seen as a senior programmer. They mention that writing good code allows others to easily understand it, reduces the time needed for support and explanations, and decreases the chance of code being rewritten. The speaker also provides several habits for writing code like a senior programmer, such as completing work before moving on, enforcing coding standards, and documenting patterns. 5 Things That Truly Senior Programmers Do" discusses five key practices that distinguish senior programmers, including documenting code patterns, reviewing new patterns with the team, integrating refactoring efforts into regular work, avoiding creating separate tickets for refactoring, and adding extra time for unexpected design, meetings, and documentation when estimating work. These practices aim to improve code quality and collaboration within a development team.

✨ Highlights
📊 Transcript
✦
The importance of writing good code like a senior programmer
00:00
Being able to write code that is easily understood by others is important for other developers on your team to appreciate your work.
Writing good code reduces the time it takes to support and explain it to others.
Writing code like a senior programmer reduces the chance of someone rewriting your code, thus increasing its shelf life and value to the company.
✦
Habits to write code like a senior programmer
02:14
Complete your work before moving on to avoid building up technical debt.
Enforce coding standards to ensure consistency in formatting.
Documenting patterns and agreeing on their use with the team can help maintain consistency and make it easier for all team members to understand and follow.
✦
Documentation is important for developers, and senior programmers take the time to document patterns and decisions made in the project.
06:55:00
Senior programmers are disciplined about documenting code and decisions.
Documenting patterns and decisions helps other developers on the team.
Introducing new code patterns without consulting the team can make a programmer look unprofessional.
Senior programmers review and get feedback from the team when introducing new patterns.
✦
Senior programmers don't create individual tickets for refactoring, but instead spread the effort across the team.
09:28:00
Creating a ticket for refactoring allows management to remove it, so senior programmers take responsibility for building quality into the code.
Incremental refactoring is a valuable skill that not all developers possess.
Spreading refactoring effort across the team and not calling it out as a separate item prevents management from removing it.
✦
Senior programmers add extra time for unexpected design meetings and documentation when estimating work.
11:17:00
Adding extra time for uncertainty and documentation helps maintain high code quality and keeps the team productive.
It prevents the need to add new user stories for additional documentation, which can lead to micromanagement.
💫 FAQs about This YouTube Video

1. Why is it important to write good code?

Writing good code is important for enabling other people to understand the code, reducing the time required for support and explanation, and minimizing the chances of code being rewritten.

2. What are the benefits of writing good code?

The benefits of writing good code include enabling better understanding for other developers, reducing support and explanation time, and minimizing the chances of code being rewritten, ultimately adding more value to the project.

3. How can I write code like a senior programmer?

To write code like a senior programmer, ensure to complete work before moving on, enforce coding standards, and document patterns agreed upon in the project.

4. What are the key habits to write code like a truly senior programmer?

The key habits to write code like a truly senior programmer include completing work before moving on, enforcing coding standards, and documenting agreed-upon patterns in the project.

5. Why is it important to enforce coding standards?

Enforcing coding standards is important for maintaining code consistency and making it easier for the team to read and understand the code.

6. Why is self-documenting code important?

Self-documenting code is important because it allows other developers to easily understand and work with the code, leading to better collaboration and more efficient project maintenance. It also showcases a developer's professionalism and can help establish their reputation as a senior programmer.

7. How can introducing a new code pattern be done effectively?

Introducing a new code pattern should involve discussing it with the development team, soliciting feedback, and gaining buy-in from everyone. It's important to incrementally add the pattern to the code base with the support of other developers, rather than introducing it without informing the team.

8. What is the value of incremental refactoring in software development?

Incremental refactoring is valuable in software development because it allows for the gradual improvement of the code base without requiring a large, disruptive effort. By integrating refactoring into the development of new features and spreading the effort across the team, the code quality can be consistently improved.

9. Why should developers add extra time for meetings and documentation when estimating work?

Developers should add extra time for meetings and documentation when estimating work to account for uncertainty and the need to write thorough documentation. By doing so, they can uphold the quality of the code and protect their commitments, ultimately supporting the team's productivity.