티스토리 뷰

TIL(Today I Learned)

21.02.25 TIL

nauni 2021. 2. 25. 23:58

- SQL

solved 1 problem✔

 

- Woowa Course

 

[Techtalk]

 

DTO : Data Transfer Object between View layer and Service Layer. Setter is not suggested to be immutable.

VO : must be immutable. Overriding on equals, hashcode is necessary. Therefore, it means equal if inner values are same. Setter is denied.

 

MVC, this concept were also very useful. It was surprised that everyone explains very well.

 

[Code Review]

 

I refactored code for a while. It was difficult to be more cohensive but be lower coupling. I tried to make Money class to be more useful. I am not sure that doing right. I am waiting for review about it. 👀

 

Below is studyLog about ArrayList. It makes more effective if the size is initialized.


학습로그 2-3

[Java] ArrayList - 2

내용

  • ArrayList는 초기크기는 10이고, 추가되는 값에 따라 크기를 늘려준다. 초기화 당시 크기를 지정해주면 소소한 성능향상이 가능하다.
  • addAll을 사용하면 기존 리스트 내역을 추가가능하다.

링크

ArrayList javadocs


- Algorithm

I failed to solve the today's problem but I think I could solve it after study session. 

I need to study Segment Tree. It is useful algorithm concept when calculating sum of specific section. 👀

 

 

- MeetCoder Posting

I wrote about Cookie and Session but it is needed to be improved. Do it tomorrow! ✔

 

 

'TIL(Today I Learned)' 카테고리의 다른 글

21.02.27 TIL  (0) 2021.02.27
21.02.26 TIL  (0) 2021.02.26
21.02.24 TIL  (0) 2021.02.24
21.02.23 TIL  (0) 2021.02.23
21.02.22 TIL  (0) 2021.02.22
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함