Log inSign up
Log inSign up
dapperdandev
8 posts
@dapperdandev

dapperdandev

@dapperdandev
Angular & TypeScript specialist since 2016 | Writing clean code, solving real problems, and sharing what works.
Boise, ID
dapperdan.dev
Joined April 2021
53 Following
1 Follower
RepliesRepliesRepostsRepostsMediaMedia

dapperdandev’s posts

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
  • @dapperdandev
    dapperdandev
    @dapperdandev
    Jun 8, 2025
    Principles are often conflated with rules. By definition, principles cannot be broken or violated. They aren't concretions. It’s okay—and often necessary—to write code that doesn’t strictly follow SOLID principles. Focus more on what improves maintainability and readability.
  • @dapperdandev
    dapperdandev
    @dapperdandev
    Jun 8, 2025
    The single responsibility principle isn't just for OOP. We often see the quote "a class should have only one reason to change." Another variation states "a class or module should have only one reason to change." I frequently create barrel files in my TS/JS projects to expose modules. Oftentimes, there isn't a class in sight. Just beautiful, OOP-less functions.