Sixteen year old Reddit user /u/69motherducker420 asked, “How can you work a 9-to-5 job, with only weekends and 4 weeks per year off, without getting the feeling of wasting your life?”
The easiest answer is, “You can’t,” and link to the /r/antiwork subreddit, but that doesn’t really help anyone. I wanted to try to be more productive.
How can somebody be okay with working a 9-to-5 job, sitting in an office, and coming home just to do it again the next morning?
I like offices, and I like office jobs. When I question what I want to do with my…
It’s not uncommon for organizations to claim to be “agile” and “scrum,” but not to budget for a scrum master to drive the initiative. These organizations are frequently called “agile in name only,” adding time-bucketed “sprints” for the sole purpose of tracking progress and not with much intention of shipping frequently.
If you find yourself in a scrum team with no scrum master and difficulty finding value in the daily scrums (or “standups”), try approaching scrum with a rotating scrum master.
The scrum is a required meeting that occurs either daily or every-other-day at the same time each day. It…
When new tasks arise mid-sprint or mid-quarter, engineers and managers feel pressure to deliver as soon as possible. It can be difficult to prioritize new tasks correctly without putting the current quarter’s goals at risk, and engineers often result to working overtime just to get everything done. This pattern isn’t healthy or maintainable, and the following steps intend to help engineers and managers establish formal processes to balance a healthy team sprint, quarter, backlog, and life.
When receiving a new task, discuss the new task with the relevant product manager(s) and work together to choose one of the following options…
Reddit user raks99832 asked, “How do you go about identifying and building reusable components in React?” I’ll discuss my learnings and strategies for tackling this common problem space.
The easiest identifier for a re-usable component is “whenever logic is being re-used.” If I’m using component logic in one place and am needing that same component logic in another place, I make it a reusable component. Similarly, If you are using logic in one place and in another, you make a function that handles that logic for you and just call that function in two places. …
It’s easy, when backlogging your own product’s issues, to simply document the existence of the issue: “The app sometimes throws the error
Cannot access property .includes of undefined.” It’s easy, when customers have the ability to open backlog items against your product, for them to do the same.
An actionable backlog item has a handful of important qualities. The problem with the above example is you and your team has nowhere to start. The issue isn’t reproducible; the root cause is unknown and undiscoverable. What happens when your team opens this item and simply cannot reproduce it? They wasted their…
Snapshot testing is great on paper. In my experience, it does not work as great in practice. The goal of snapshot testing is to prove that your logic changes did not cause output side effects, typically to the UI. When I add a feature, my existing features shouldn’t break. When I optimize or refactor, my UI shouldn’t become inaccessible. That’s great!
In practice, UI changes so frequently that developers habitually update snapshots without considering if they need to be or even checking that they are valid. Snapshot testing, unlike other automated processes, is subject to human error.
My team dropped…
I recently setup VS Code Settings Sync; and after spending a significant amount of time dealing with merge conflicts, I questioned and re-affirmed the value of many of these settings. To account for VS Code not configuring these to my liking by default, I share this configuration here with its justification.
Code auto-completion is often heralded as God’s gift to programmers. The value of this setting likely depends on how fast of a typist you are. …
const affords a few benefits:
It’s common practice to use
const by default, denoting that a variable is constant and unchanging.
However, it can be confusing when you want a constant variable that…
In today’s episode of Enterprise Application Nightmares, I’ll tell you how mocking state broke our application and how the React context API could have saved us.
The React context API does not get enough credit. When asked, “When would you use the context API?” the answer is frequently, “Whenever you don’t want prop-drilling.” Seeking rendering performance benefits or a simpler global state management system? Context API to the rescue!
My component wants some data from the internet. I can
fetch it, then display it. …
Reddit user hogstfelttf recently asked the React subreddit, “As a React junior, which areas should I focus to advance my skill?” This article summarizes the top replies from experienced React developers.