Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
java-squid
/
effective-java
Public
Notifications
You must be signed in to change notification settings
Fork
35
Star
103
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
20201116
Jump to bottom
David Chung edited this page
Nov 16, 2020
·
3 revisions
회고
Sunny
이펙티브 자바 3일 정도 공부함.
자소서 준비등등.
Han
이펙티브 자바 3,4일 공부함.
Henry
내용이 크게 어렵지 않아서, 가볍게 봤다.
핸드폰 바꿨음
David
내용이 쉬운 것도 있었고, 가볍게 했다.
금방 끝낼 수 있을 것 같다. 9시전까지
Items
[아이템 21]
apache-common, google-guava 많이 사용되는 라이브러리들.
인터페이스를 구현할 때, 다른 개발자들이 각각 구현체를 만들어보자.
그러면 인터페이스 설계에 있는 결함을 줄일 수 있을 것...?
mutex, semaphore에 대해
[아이템 22]
ObjectStreamConstants 왜 만들었을까?
실수
설계상 잘못 되긴 했지만, 삭제함으로써 발생하는 문제를 방지하기 위해서 굳이 지우진 않는듯.
[아이템 23]
클래스 설계 시, 객체지향적인 마인드를 다시한번 생각하자
[아이템 24]
각각의 클래스가 어떤 클래스인지 정도만, 알면 될 것 같다.
Map.entry interface에 대해
인터페이스 목적이나 사용에 대해 다시 한번 알아봐야할듯.
어느 경우에 정적, 비정적 멤버 클래스를 사용할까?
바깥 인스턴스를 참조하냐 안하냐의 차이
Iterator, Adaptor는 바깥 인스턴스를 참조해야지만 쓸모가 있는 클래스.
Entry 는 Map 내부에 있지만, Map 정보에 대해 알 필요 없음 --> 그래서 정적 멤버 클래스로 가능
반면 Iterator들은 바깥 인스턴스 정보를 알아야 하니까.. --> 비정적 클래스
정적 클래스의 경우, 새로운 탑클래스로 분리 가능하다 (바깥 클래스를 참조하고 있지 않기 때문에)
비정적 클래스의 경우, 바깥 클래스를 참조하고 있는 경우, 새로운 탑 클래스로 분리하는 게 어렵거나 불가능하다
그러므로 해당 클래스 내부에 존재하도록 만들어야 한다.
비정적 멤버 클래스의 접근제한자의 경우 일단 private하게 만들어보고, 그게 힘들다면 public, proteced로 변경하는 거를 생각해보자
정적 멤버일 경우에만 public 일 경우가 있을듯.
[아이템 25]
컴파일러가 이렇게 동작할 수 있다는 게 재밌다.
자바 컴파일의 가장 기본적 단위가 파일 단위여서...그런듯
Wiki pages
Pages
19
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
2020.09.19 1번째 스터디
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
2020.09.26 2번째 스터디
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
2020.10.17
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
2020.10.31
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20201109
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20201116
회고
Sunny
Han
Henry
David
Items
[아이템 21]
[아이템 22]
[아이템 23]
[아이템 24]
[아이템 25]
Loading
20201123
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20201130
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20201207
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20201214
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20210118
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20210125
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20210201
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20210208
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20210222
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20210308
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
20210317
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
기획서
Uh oh!
There was an error while loading.
Please reload this page
.
Show 4 more pages…
Clone this wiki locally
You can’t perform that action at this time.