kotlin-practice's Introduction
kotlin-practice's People
kotlin-practice's Issues
kotlin + JPA ๋ฌธ์ ์
- ๋์ ํ๋ก์๋ก ๋์ํ๊ธฐ ๋๋ฌธ์ ์ฝํ๋ฆฐ์ ์ฒ ํ๊ณผ ์ด๊ธ๋๋ ๋ฉด์ด ๋ช ๊ฐ ์๋ค.
- ์ฝํ๋ฆฐ์ ๊ธฐ๋ณธ ํด๋์ค๋ final์ธ๋ฐ, ํ๋ก์ ๊ฐ์ฒด๋ฅผ ๋ง๋ค๊ธฐ ์ํด์ ์์์ ๋ฐ์์ผ ํ๋ค. ์ฆ, open์ ๋งค๋ฒ ๋ถ์ฌ์ค์ผ ํจ (ํ๋ฌ๊ทธ์ธ์ผ๋ก ์ด๋์ ๋ ํด๊ฒฐ)
- val๋ก ํ๋กํผํฐ๋ฅผ read-onlyํ๊ฒ ๋ง๋ค๋ฉด ์ํฐํฐ๋ฅผ ์์ ์ํฌ ์ ์์ (์ ์ผ ์ค์) ๊ทธ๋ ๋ค๊ณ var๋ก ํ์๋ setter๊ฐ ์์ฑ๋์ด ์์ ์ ์ฌ์ง๊ฐ ์๊ธฐ๊ณ , ์ปค์คํ setter๋ฅผ ๋ง๋ค์๋ ๋ณด์ผ๋ฌ ์ฝ๋๊ฐ ์์ฑ๋จ
- ๊ฒฐ๊ตญ var๋ก setter๋ฅผ ์ด์ด์ผ ํ๋๋ฐ, ์ํฐํฐ์ ์บก์ํ๊ฐ ๋ณด์ฅ๋์ง ๋ชปํจ.
- ์ด์ฉ ์ ์์ด ์๊ณ ๊ฐ์ผํ๋ ๋ฌธ์ ์ด๊ณ , ๋ฆฐํธ๋ ์ปจ๋ฒค์ ์ผ๋ก ์ต๋ํ ๋ชป ์ฌ์ฉํ๊ฒ ๋ง์์ผ ํ๋๊ฒ ์ต์
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.