Git Product home page Git Product logo

Comments (5)

Reyurnible avatar Reyurnible commented on June 1, 2024

About M13 update

  • Compiler daemon for faster compilation;(コンパイルが早くなった)
  • lateinit properties to support dependency injection and other frameworks;(lateinitプロパティが追加され、別のフレームワーク(DI framework [Guice, Dagger or Spring, for example])からのinjectに対応した)
  • sealed classes for expressing closed hierarchies;(閉じた継承関係を表現するのにsealed classを追加した.sealed宣言を追加すると他のクラスは、それを継承できなくなる。enumの代わりとしていいっぽい)
  • Specifying and checking annotation targets;(@から始まるように変更された。また、@platformName to @JvmName and @platformStatic to @JvmStatic.となるように変更され。今後もAnnotationが変更されていく, annotationが強化されたみたい)
  • Java get/set pairs are now seen as properties in Kotlin;(Javaでgetter/setterがあるものが省いて参照できるようになった)
  • Better type safety for Java interop: taking @NotNull annotations into account (see this blog post);
  • Modifiers and annotations have been separated syntactically (see this blog post);
  • Fully functional reflection on classes, functions and properties;
  • Access to internal is now checked outside of a module (details below);
  • New .class file layout for top-level functions and properties;

from kodic.

Reyurnible avatar Reyurnible commented on June 1, 2024

新しく機能が増えたAnnotaion
http://kotlinlang.org/docs/reference/annotations.html#annotation-use-site-targets

from kodic.

Reyurnible avatar Reyurnible commented on June 1, 2024

getter/setterが省ける。
つまり、ActivityでgetApplication() -> applicationで参照できるようになった

from kodic.

Reyurnible avatar Reyurnible commented on June 1, 2024

javaClass() -> T::class.java
になった

from kodic.

Reyurnible avatar Reyurnible commented on June 1, 2024

導入した

from kodic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.