์ด์œ ๋Š”

In Java and C#, it's common to hide all fields behind getters and setters (or properties in C#), even if the implementation just forwards to the field. That way, if you ever need to do more work in those members, you can do it without needing to touch the callsites. This is because calling a getter method is different than accessing a field in Java, and accessing a property isn't binary-compatible with accessing a raw field in C#.

๋ผ๊ณ  ํ•˜๋”๋ผ

๋Œ€์ถฉ ๋ฐ”์ด๋„ˆ๋ฆฌ ํ˜ธํ™˜ ๋ฌธ์ œ๋‚˜ side effect๊ฐ€ ์ƒ๊ธธ์ˆ˜์žˆ๋‹ค๋Š” ์†Œ๋ฆฌ๊ฐ™์Œ

์—ฌ๊ธฐ์„œ ์ฐพ์Œ