kaestro / ChatApplication

2 stars 1 forks source link

TypeAliasing for types like loginsessionID #65

Open kaestro opened 5 months ago

kaestro commented 5 months ago

Is your feature request related to a problem? Please describe. parameter, return value로 동일한 형태의 것이 연속으로 나올 경우에, 이에 대한 구분을 실수해서 순서를 틀려 디버깅하는 시간이 오래걸렸음.

Describe the solution you'd like 자주 쓰는 변수의 타입일 경우에는 타입 얼리아싱을 해 둔다.

Describe alternatives you've considered 별개의 구조체/interface를 사용한다. => overshooting일 가능성이 높음