๋ถ๋ฅ ์ ์ฒด๋ณด๊ธฐ (386) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ [Kotlin][Java] Kotlin ๋ฌธ์์ด ์ฐ๊ฒฐ์ด ์๋ฐ๋ก ์ปดํ์ผ ์์ ๋์ ์ถ์ฒhttps://medium.com/%EC%8A%AC%EA%B8%B0%EB%A1%9C%EC%9A%B4-%EA%B0%9C%EB%B0%9C%EC%83%9D%ED%99%9C/java-string-%EC%97%B0%EC%82%B0-string-concat-d76a6eea75 javaโ—โString + ์ฐ์ฐ (String Concat)StringConcatFactorymedium.comhttps://jerry92k.tistory.com/50 str1 ๊ฐ์ฒด ์์ฑ, str1+"b" ๊ฐ์ฒด ์์ฑ, str1+"b"+"c" ๊ฐ์ฒด ์์ฑ ๊ทธ๋" data-og-host="jerry92k.tistory.com" data-og-source-url="https://jerry92k.tistory.com/50" data-og-url=.. [Kotlin][Java] Java์ Stream์ด ์์์๋ Kotlin์ Sequence๋ ์ ๋ง๋ค์์๊น ์ถ์ฒKotlin In Actionhttps://bcp0109.tistory.com/359 Kotlin Collections ์ Sequences ์ ์ฐจ์ด์ (feat. Java Stream)Overview Java8 ์์๋ Collection ์ ๋ค๋ฃจ๊ธฐ ์ํด Stream ์ ์ฌ์ฉํฉ๋๋ค. Kotlin ์ Collections ์์ฒด์์ filter, map ๋ฑ์ ์ฌ๋ฌ ๊ฐ์ง API ๋ฅผ ์ ๊ณตํ๊ธฐ ๋๋ฌธ์ ๋งค๋ฒ .streams() ๋ฅผ ๋ถ์ด์ง ์์๋ ์ฌ์ฉ ๊ฐ๋ฅํ๋ค๋ ์ฅ์ bcp0109.tistory.com ์๋ฐ์ Stream๊ณผ ์ฝํ๋ฆฐ์ Collection, Sequence ๋น๊ตhttps://bcp0109.tistory.com/359 Kotlin Collections ์ Sequences ์ ์ฐจ์ด์ (feat. Jav.. [ํจ์ํ ํ๋ก๊ทธ๋๋ฐ][Kotlin] ๊ณ ์ฐจํจ์ HOF High-order Function, Combinator Pattern ์ถ์ฒhttps://softwarepatternslexicon.com/patterns-kotlin/functional/combinator/ Combinator in KotlinExplore the Combinator Design Pattern in Kotlin, a powerful functional programming technique to combine functions, promoting flexible and reusable code. Learn how to implement and use combinators with real-world examples and programmatic illustrations.softwarepatternslexicon.comhttps://kotlinlang.org.. [Kotlin][ํจ์ํ ํ๋ก๊ทธ๋๋ฐ] ๋ฉค๋ฒ ์ฐธ์กฐ ์ถ์ฒKotlin In Actionhttps://antonioleiva.com/function-references-kotlin/ Function references in Kotlin: use functions as lambdas everywhereFunction references allow to use regular functions as lambdas. With them you can write cleaner code in a more functional style.antonioleiva.comhttps://inpa.tistory.com/entry/JAVA8-%E2%98%95-%EB%9E%8C%EB%8B%A4%EC%8B%9D%EC%9D%84-%EB%8D%94-%EC%A7%A7%EA%B2%8C-%EB%A.. [ํจ์ํ ํ๋ก๊ทธ๋๋ฐ] ์ํ ๋ณํ eta conversion ์ถ์ฒChatGPThttps://sookocheff.com/post/fp/eta-conversion/ Eta ReductionThe purpose of eta reduction (also written \(\eta\)-reduction) is to drop an abstraction over a function to simplify it. This is possible when there is nothing more that a function can do to its argument. For example, imagine that we have a simple functionsookocheff.comhttps://library.fiveable.me/key-terms/programming-languages.. [Java][Kotlin] ๊ฐ์์ฑ ๋ณ๊ฒฝ์ ์ฐจ์ด ๋น๊ต ๋ถ๋ฅ์๋ฐ์ฝํ๋ฆฐ๊ธฐ๋ณธ ๊ฐ์์ฑํด๋์ค, ๋ฉ์๋, ํ๋์ ๊ธฐ๋ณธ ๊ฐ์์ฑ์ ํจํค์ง๋ก ๊ฒฐ์ ๋๋ค. ๊ฐ์์ฑ ๋ณ๊ฒฝ์๋ฅผ ์ง์ ํ์ง ์์ผ๋ฉด ํด๋น ์์๋ ๋์ผํ ํจํค์ง ๋ด์์๋ง ์ ๊ทผ ๊ฐ๋ฅํ๋ค.๊ธฐ๋ณธ ๊ฐ์์ฑ์ public์ด๋ค. ๋ณ๋์ ๊ฐ์์ฑ ๋ณ๊ฒฝ์๋ฅผ ์ง์ ํ์ง ์์ผ๋ฉด ํด๋น ํด๋์ค๋ ๋ฉ์๋๋ ์ด๋์๋ ์ ๊ทผ ๊ฐ๋ฅํ๋ค.๊ฐ์์ฑ ๋ณ๊ฒฝ์ ๋น๊ตpublicํด๋์ค, ๋ฉ์๋, ํ๋ ๋ชจ๋ ๋ชจ๋ ๊ณณ์์ ์ ๊ทผ ๊ฐ๋ฅํ๋ค.์๋ฐ์ ๋์ผํ๊ฒ ๋ชจ๋ ๊ณณ์์ ์ ๊ทผ ๊ฐ๋ฅํ๋ค.privateํด๋์ค ๋ด๋ถ์์๋ง ์ ๊ทผ ๊ฐ๋ฅํ๋ซ.๊ฐ์ ํด๋์ค ์์์๋ง ์ ๊ทผ์ด ํ์ฉ๋๋ค.์๋ฐ์ ๋์ผํ๊ฒ ๊ฐ์ ํด๋์ค ๋ด๋ถ์์๋ง ์ ๊ทผ์ด ๊ฐ๋ฅํ์ง๋ง, ๊ฐ์ ํ์ผ ๋ด์ ์ต์์ ์์ค์ ์ ์ธ์ ๋ํด์๋ private๊ฐ ์ ์ฉ๋ ์ ์๋ค.ํ์ผ ๋ด์ ์ฌ๋ฌ ํด๋์ค๊ฐ ์์ผ๋ฉด ๋ค๋ฅธ ํด๋์ค์์ ์ ๊ทผ์ด ๋ถ๊ฐ๋ฅํ๋คprotected๋.. [Kotlin] Local Functions ๋ก์ปฌ ํจ์ ์ถ์ฒhttps://kotlintutorial.io/local-functions-in-kotlin/ Local functions in KotlinIn Kotlin there are local functions that can be defined within a larger function. These functions are only visible within this larger function and cannot be accessed from outside. Local functions have the advantage of making code more readable and clear bykotlintutorial.ioChatGPThttps://cornswrold.tistory.com/464 [Ko.. [ํ๋ก๊ทธ๋๋ฐ] ๋ฉ์๋ ์ถ์ถ ๋ฆฌํฉํ ๋ง Extract Method ์ถ์ฒhttps://zaengle.com/blog/refactoring-techniques-extract-method Refactoring Techniques: Extract Method | Zaengle CorpInsights on refactoring techniques focusing on the extract method and Martin Fowlers's book Refactoring - Improving the Design of Existing Code.zaengle.comhttps://hceris.com/the-humble-extract-method/ The Humble Extract MethodThe extract method refactoring is a low-cost, high-imp.. ์ด์ 1 2 3 4 5 6 7 ยทยทยท 49 ๋ค์