Subscribe
Sign in
Home
Coding
Software Engineering
Testing
Databases
Distributed Systems
Reliability
Soft Skills & Communication
Index
Software Engineering
Nested Code
Align the happy path to the left; you should quickly be able to scan down one column to see the expected execution flow
Feb 4
•
Teiva Harsanyi
3
Share this post
The Coder Cafe
Nested Code
Copy link
Facebook
Email
Notes
More
Coupling
High cohesion often leads to lower coupling, as components with a single responsibility tend to interact less with others.
Nov 14, 2024
•
Teiva Harsanyi
2
Share this post
The Coder Cafe
Coupling
Copy link
Facebook
Email
Notes
More
Cohesion
High cohesion improves readability, maintainability, testability, and reusability—making the code easier to understand and work with.
Nov 13, 2024
•
Teiva Harsanyi
3
Share this post
The Coder Cafe
Cohesion
Copy link
Facebook
Email
Notes
More
Simplifying Complex if Statements
Refactoring complex if statements by breaking them into well-named variables or abstracting them into functions can significantly enhance our code…
Nov 12, 2024
•
Teiva Harsanyi
1
Share this post
The Coder Cafe
Simplifying Complex if Statements
Copy link
Facebook
Email
Notes
More
Readability
Readability is about understanding the intent (what), rationale (why), and logic (how) behind a piece of code.
Nov 11, 2024
•
Teiva Harsanyi
3
Share this post
The Coder Cafe
Readability
Copy link
Facebook
Email
Notes
More
Cognitive Load
Instead of attributing complexity solely to the inherent difficulty of a domain, we should focus on reducing extraneous cognitive load.
Oct 10, 2024
•
Teiva Harsanyi
7
Share this post
The Coder Cafe
Cognitive Load
Copy link
Facebook
Email
Notes
More
Focus on Product Ideas, Not Requirements
Domain objects can be a useful generalization, allowing us to avoid applying the YAGNI principle too rigidly.
Oct 9, 2024
•
Teiva Harsanyi
7
Share this post
The Coder Cafe
Focus on Product Ideas, Not Requirements
Copy link
Facebook
Email
Notes
More
You Aren’t Gonna Need It (YAGNI)
Adhering to the YAGNI principle by focusing on building what is necessary for the current requirements should be the way to go in most cases.
Oct 8, 2024
•
Teiva Harsanyi
7
Share this post
The Coder Cafe
You Aren’t Gonna Need It (YAGNI)
Copy link
Facebook
Email
Notes
More
Premature Abstractions
Premature abstraction is the root of all evil.
Oct 7, 2024
•
Teiva Harsanyi
7
Share this post
The Coder Cafe
Premature Abstractions
Copy link
Facebook
Email
Notes
More
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts