Postări cu #Java14

#Java14

Postări publice de pe X care folosesc #Java14.

Hashtaguri înrudite

  1. Angie Jones✓@techgirl1908
    Wooohooo for Java Records! Played around with this #Java14 preview feature yesterday and look how much less code is needed! 🔗
    Descarcă
    2843277
  2. IntelliJ IDEA, a JetBrains IDE✓@intellijidea
    Sometimes (e.g. during TDD) we define what our classes look like by using them, and then have IntelliJ IDEA generate the correct code. IntelliJ IDEA 2020.1 lets us generate a #Java14 Record, either in its own file or as an inner class #TheDriveToDevelop
    Descarcă
    11675
  3. IntelliJ IDEA, a JetBrains IDE✓@intellijidea
    Did you know? Accessor methods for #Java14's Record classes don't start with the word "get"! IntelliJ IDEA 2020.1 does the right thing when generating "getters" for record classes, in case you want to add any logic to the accessors. #TheDriveToDevelop
    Descarcă
    22076
  4. Tagir Valeev✓@tagir_valeev
    #Java14 pattern matching brings name shadowing to the next level of craziness. Here I add or remove the `final` modifier for the `FLAG` field, which is accessed only in unreachable `if` branch. This actually changes the program semantics! #ProgrammingIsFun.
    Descarcă
    1959138
  5. Oracle Developers✓@OracleDevs
    “These features remove boilerplate code and make code highly expressive, and intuitive—easy to both write and maintain.” @java Champions explain why #Java14 makes code super expressive. (via @Forbes)
    Descarcă
    01127
  6. Java Code Daily@JavaCodeDaily
    #Java14 improves error messaging for NullPointerException so it shows which variable was null. Useful when the NPE is thrown on a line with method chaining. This is disabled by default in #Java 14. To enable, add command-line option -XX:+ShowCodeDetailsInExceptionMessages
    1524
  7. IntelliJ IDEA, a JetBrains IDE✓@intellijidea
    Since Records are a new Preview Feature in #Java14 we might not be familiar with the syntax. IntelliJ IDEA 2020.1 can help, for example allowing us to switch between the new compact constructor form and a canonical constructor. Try it! #TheDriveToDevelop
    Descarcă
    21550
  8. Arată mai multe postări