본문 바로가기 메뉴 바로가기

Programming makes everything

프로필사진
  • Git Blog
  • GitHub
  • LinkedIn
  • Facebook
  • Instagram
  • Email

Programming makes everything

검색하기 폼
  • All Categories
    • Architecture
      • Front-End
      • Back-End
      • Design Pattern
    • Computer Language
      • Scala
      • Kotlin
      • Python
      • Java
    • Data Engineering
      • Spark
      • HQL
      • Airflow
    • Development Tools
      • IntelliJ
      • GitHub
  • 방명록

[TroubleShooting] Kotlin not configured in IntelliJ

Trouble Shooting history When I create spring-boot with Kotlin, IntelliJ can't reconize Kotlin class. As a result, I added the standard library to dependency management. implementation("org.jetbrains.kotlin:kotlin-stdlib")Kotlin-stdlib has extended versions of the standard library that add support for some of the features of JDK 7 and JDK 8. Checking https://kotlinlang.org/docs/reference/usi..

Computer Language/Kotlin 2019. 8. 27. 08:00
[TroubleShooting] Deprecated Gradle features

Trouble Shooting history When I run gradle, I got below message. $ Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.So, first I put --warning-mode=all to gradle command like below. $ ./gradlew clean build --warning-mode=allAnd I find DefaultSourceDirectorySet class's constructor has been deprecated (below detail message) Configure project : The Defau..

Architecture/Back-End 2019. 8. 26. 18:06
[Kotlin] Null 을 안전하게 사용하는 방법

Java를 포함한 많은 프로그래밍 언어에서 가장 대표적인 오류중 하나는 참조값이 없는 멤버에 액세스하면 널 참조 예외가 발생한다는 것입니다. Java에서 이것은 NullPointerException 또는 NPE와 동일합니다. 이 Null을 처음 도입한 Tony Hoare 가 다음과 같이 말했다고 합니다. 'I call it my billion-dollar mistake.' 코틀린에서는 기본적으로 변수를 정의할때 Null을 허용하지 않도록 개발되었고, null을 허용하더라도 컴파일할때 null 참조할 가능성을 다 체크해주어 안전하게 프로그램을 짤 수 있는 장점이 있습니다.(제 개인적으로 코틀린의 가장 큰 장점입니다.) Null을 허용하지 않는 변수 vs Null을 허용하는 변수 fun tes..

Computer Language/Kotlin 2019. 8. 7. 22:43
이전 1 2 다음
이전 다음
TAG
  • NPE
  • Java
  • spring boot
  • Kotlin 1.3
  • kotlin
  • Gradle
  • Ultimate Edition
  • IntelliJ
  • idea
  • NullPointerException
more
Recent Post
Follow
  • Blog
  • Github
  • LinkedIn

Blog is powered by Tistory / Designed by Tistory / Management Page

티스토리툴바