Self taught / Online Lecture
If method / variable has 'static', it cannot be used without instantiate them.
If the work you want to do with the method is simple and easy, it's better without static.
If method / variable has 'public', it can be used in other methods or classes.
생성자: 생성 초기에 인풋 받을 값이 있다면 클래스명과 같은 메소드를 만들고 그 안에 변수 정의
When you run a java file, first it looks for the class that has the same name as the file and then find a main method to run.
조금씩 자바 사용법에 윤곽이 잡힌다.. 오후에는 그룹 멘토인 디온의 도움을 받아 인디언 이름 짓기의 클래스, 메소드 분리하였고 생활코딩 강의를 듣고 어느정도 클래스와 메소드 분리의 개념을 잡은 후 RPG에도 도전해보았다. 결과는 플레이어가 몬스터를 만나면 포인트 획득, 이니시에잇 되는 것 까지 완성. 지뢰는 클래스는 만들었으나 플레이어와 만나 게임종료가 되는 메소드를 만들거나 새 라운드를 돌 때 전 라운드의 2배가 되는 메소드는 생성하지 못했다. 그래도 짧은 시간 안에 많은 발전을 했다고 생각한다. 오늘은 스스로가 쫌 뿌듯하다.
디온에게 코드리뷰(?)를 받으며 부트캠프에 관한 질문도 했다. 사실 위코드가 나에게 얼마나 만족스러운 결과를 가져다 줄 지는 아직 미지수다. 아직 일주일도 채 안됐지만 지금 하는 코코아과정을 하면서 의문이 든다. 과연 3개월안에 취업을 할 수 있을 정도의 실력을 가진 개발자로 성장할 수 있을까? 나는 지금 자바 기초도 못 따라가서 이렇게 허우적대고, there are so many soon-to-be-pro programmers who got hundreds of thousands (compared to me) skills and experience. I thought this course would be for someone who doesn't know much about programming like me but realizing people in this course are already skilled and are still learning and trying so hard to be a programmer inspires me and at the same time scares me. Should I still be taking the high load to get a job immediately and make myself to be able to afford everything or should I take a detour to be a better programmer?