TIL 21

Effective Software Testing is so much easier to read now.

  • This book is by Mauricio Aniche
  • 3 months ago, I had hard time reading this book
  • After extensively implementing test cases for my repository(600+ test cases - mostly integration tests), now I realize I can read most of the chapters effortlessly.
  • I am planning to write some posts (less important ones for now) for concepts that were still unfamiliar to me - mutant testing, design by contract, etc.

Hexagonal, is it the only way to make my codebase testable?

  • currently my repo is mostly CRUD layered architecture.
  • it has 80% integration test 10% e2e and a very few unit tests.
  • I feel like there is no other way than hexagonal architecture to completely escape from this "un-unit-testable" state.
  • gpt says using aggregate root will make it easier to test... hmmm really? idk.

RESTful

  • Do we reeeally need to make APIs strictly restful?
  • I still find so many cases where using verbs or non-nouns on route naming make representation much cleaner.
  • Might need to read some extensive restful architecture books or articles.

TIL 22

Onion Architecture? Clean Architecture TM?

Nest js review

  • Currently building a coffee menu ordering system with NestJS and noticing it allows quite a bit of flexibility. Feels like it inherits the spirit of Express.
  • For example, unlike Spring, it doesn't force using DTOs in every layer and most things seem quite flexible.
  • TypeORM seems significantly cleaner than Sequelize? Sequelize models look quite messy. Need to explore more though.

TIL 21

Effective Software Testing is so much easier to read now.

  • This book is by Mauricio Aniche
  • 3 months ago, I had hard time reading this book
  • After extensively implementing test cases for my repository(600+ test cases - mostly integration tests), now I realize I can read most of the chapters effortlessly.
  • I am planning to write some posts (less important ones for now) for concepts that were still unfamiliar to me - mutant testing, design by contract, etc.

Hexagonal, is it the only way to make my codebase testable?

  • currently my repo is mostly CRUD layered architecture.
  • it has 80% integration test 10% e2e and a very few unit tests.
  • I feel like there is no other way than hexagonal architecture to completely escape from this "un-unit-testable" state.
  • gpt says using aggregate root will make it easier to test... hmmm really? idk.

RESTful

  • Do we reeeally need to make APIs strictly restful?
  • I still find so many cases where using verbs or non-nouns on route naming make representation much cleaner.
  • Might need to read some extensive restful architecture books or articles.

TIL 22

Onion Architecture? Clean Architecture TM?

Nest js review

  • Currently building a coffee menu ordering system with NestJS and noticing it allows quite a bit of flexibility. Feels like it inherits the spirit of Express.
  • For example, unlike Spring, it doesn't force using DTOs in every layer and most things seem quite flexible.
  • TypeORM seems significantly cleaner than Sequelize? Sequelize models look quite messy. Need to explore more though.
Copyright © 2023 Seho Lee All Rights Reserved.
</>
Latest Commit
3f69a33a-19c5-5803-af99-13a0eb505499
Seho Lee
2025-06-25T11:50:39Z