435: Cohesive Code with Jared Norman
The Bike Shed30 Juli 2024

435: Cohesive Code with Jared Norman

How easy is it for a layperson to understand your systems? Jared Norman is a software consultant, speaker, and host of the Dead Code Podcast who specializes in building e-commerce applications in Ruby on Rails. This episode follows two recent talks at RailsConf and covers a theme that emerged from both of them: coupling and cohesion. Tuning in, you’ll gain insights on how to create more cohesive components to allow for change and improve your understanding of value objects, systems, and more. You’ll also hear about navigating the complexity of domain-driven design and learn how to gauge if your code is easy to understand through a simple rule of thumb. We discuss what it might look like to improve the cohesion of individual objects, identify your systems’ seams to create simplicity, and the liminal space between inheritance and composition and the role of decorators in moving through it. Join us today to hear all this and more!

Key Points From This Episode:

Introducing Jared Norman recent speaker at RailsConf and Ruby on Rails specialist.
Jared’s interests outside of coding: cycling.
Themes that emerged from Jared and Stephanie’s talks: coupling and cohesion.
A rule of thumb for achieving high cohesion.
How value objects tie into the idea of cohesion.
Creating more cohesive components in order to have code and systems that are easier to change.
The relationships between objects in increasing cohesion and how complex nestings of objects can hinder this.
Rearranging systems in order to find seams and create cohesion.
Simplifying code in order to facilitate it working independently to support functionality.
Improving systems by identifying opportunities for decoupling and other relationships.
Inheritance, composition, and decorators and the liminal space between.
The complexity of domain-driven design.
A rule that indicates when a system is easy to understand.

Links Mentioned in Today’s Episode:

Det här avsnittet är hämtat från ett öppet RSS-flöde och publiceras inte av Podme. Det kan innehålla reklam.

Avsnitt(505)

505: What is a “principal” or “staff” engineer?

505: What is a “principal” or “staff” engineer?

Sally and Joël join forces to discuss the different ways to interpret the role of a ‘principle’ or ‘staff’ engineer, and the handwaving around what those titles mean in terms of the gradation. Whilst...

7 Juli 34min

504: AI Ethics (with guests!)

504: AI Ethics (with guests!)

Aji is joined by thoughtbot’s own Tess Griffin and Jimmy Thigpen, two members of the recently established AI Ethics Taskforce, to talk about what kind of conversations are going on in the company arou...

30 Juni 32min

503: Seeing the Graph for the Trees

503: Seeing the Graph for the Trees

Aji and Joël join forces to discuss graph and tree structures, and their connection to the emergent properties, attributes and qualities you can find from a largely connected group of data. Joël dive...

23 Juni 41min

502: Apps That Make Our Work Go

502: Apps That Make Our Work Go

Aji and Sally are back together again, this time to discuss the different apps they use to make their workflows and To Do lists easier and quicker to achieve. Sally dives into the Notion calendar sys...

16 Juni 40min

501: What makes for good technical writing?

501: What makes for good technical writing?

Sally and Joël get technical as they lay out their thoughts on blog posts. Our hosts pick apart what makes a good technical blog post, why consistent terms are more important than you might think wh...

2 Juni 34min

500: Celebrating with past hosts

500: Celebrating with past hosts

The Bike Shed celebrates its 500th episode with hosts new and old as they reflect on the show’s history and ask, what’s new in your world? Our past hosts look back at their time on the show, their f...

26 Maj 58min

499: BikeTube ShedTacular!

499: BikeTube ShedTacular!

Take a trip through Joël and Aji’s YouTube recommended list as they go over the media that has inspired their work the most over the course of their careers. Our hosts highlight different creators t...

28 Apr 48min

498: Season 2 Recap

498: Season 2 Recap

Our hosts come together to wrap up season 2 and share some of their highlights along the way. Our trio expand and recap on some key topics covered over the last few months, Sally and Joël provide up...

17 Mars 37min

Populärt inom Politik & nyheter

svenska-fall
tv4-nyheterna-story
p3-krim
aftonbladet-krim
flashback-forever
aftonbladet-daily
de-fyras-gang
motiv
rss-krimstad
spar
rss-sanning-konsekvens
rss-vad-fan-hande
mannen-utan-spar
kungligt
grans
rss-expressen-dok
olyckan-inifran
rss-aftonbladet-krim
politiken
sydsvenskan-dok