Skip to content

Conversation

@swon3210
Copy link

그동안 수고 많으셨습니다!

처음엔 연결리스트로 중심 로직을 구현하려고 했는데 로컬 스토리지가 순환 참조를 허용하지 않는다는 것을 알게 된 후로는 방향을 틀어서 개발하게 되었습니다. 로컬 스토리지와 같은 브라우저 내장 기능에 대한 이해가 많이 필요하다는 것을 느끼게 된 시간이었습니다.

…tion name

this is for more clarification and consistency with other functions' way
of doing work
I made this change because I knew localStorage cannot store object reference
value which has circular relationship with other object. now, arrays
which contained all stations and lines now converted as object using
their names as its key
if I use terminating stations or terminiating station names for getting
all station names in the line, the methods get pretty complicated and
inefficient. so I changed subway line class to have its own station name
list. we can use the station name for referencing subway station object
- remove exception#7 since it is no longer an exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant