Writing cleancode withmodern Java. Miro Cupak, Dnastack

Поділитися
Вставка

КОМЕНТАРІ • 27

  • @varunvats32
    @varunvats32 5 років тому +30

    Covering these topics
    1. Private interface methods.
    2. Try with resources
    3. Switch expression
    4. Local variable expression.

  • @alokuttamshukla
    @alokuttamshukla 3 роки тому +11

    Its more like new and cool features of Java rather than Clean codes.

  • @Woutor56
    @Woutor56 4 роки тому +5

    Great talk, explanation is very clear.

  • @thebosssam5976
    @thebosssam5976 3 роки тому +5

    This helped me to decide...
    to avoid using type inference

    • @moshecsbgu1
      @moshecsbgu1 3 роки тому

      Like with other tools, it depends what is the problem you are trying to fix with that

  • @nitinagrawal6637
    @nitinagrawal6637 3 роки тому +5

    Very helpful session...simple & informative

  • @AnthonyGoubard
    @AnthonyGoubard 5 років тому +8

    Learned quite a lot with this presentation

  • @ahmeddowidar8022
    @ahmeddowidar8022 4 роки тому +3

    it's a great talk very simple and it's attractive topics

  • @Pspet
    @Pspet 3 роки тому +32

    This jshell thing is by an outstanding amount the worst development environment i have ever seen. Why would someone would want to write code in that?

    • @Pspet
      @Pspet 3 роки тому +1

      @Dennis Griese Thanks for the info

  • @andreyOMARama
    @andreyOMARama 2 роки тому +2

    It's rather about "new Java features" than clean code...

  • @coolcoolj0102
    @coolcoolj0102 4 роки тому +4

    wonderful presentation. Planning to upgrade to Java 10

  • @pengdu7751
    @pengdu7751 3 роки тому +2

    why would things like List be in a talk about "clean code"? It's seems more like a trap for bad coding habits

    • @khaledabd7209
      @khaledabd7209 2 роки тому

      It does no harm but good
      Generics are invariant so when the type is unknown ? denote to it
      when ? is expected u can't assign any value other than null which.
      It is helpful for the libraries designer not in the business context.

  • @atomspalter2090
    @atomspalter2090 3 роки тому +2

    nice

  • @SHAMITHADEVINDA
    @SHAMITHADEVINDA 3 роки тому +2

    I want to be accurate as you are

  • @tashi7160
    @tashi7160 Рік тому +1

    Never had to use interface default interface method.

  • @JuanGarcia-zy8yw
    @JuanGarcia-zy8yw 4 роки тому

    he shouldve been a lil more specific using wildcards. there is something called the put and get principle when using generics. when the generic is represented by a wildcard you cant add elements to it. the only way to add add elements is using the super keyword Lisr actually means

    • @MrMikomi
      @MrMikomi 3 роки тому

      Well yes but he did say 'a list of something that's potentially more specific than an object' at 36:16

  • @tobyzieglerrr
    @tobyzieglerrr 2 роки тому +1

    good talk but WHY using jshell urrg

  • @alaetouba9049
    @alaetouba9049 3 роки тому

    nice talk

  • @vladimirljubopytnov5193
    @vladimirljubopytnov5193 2 роки тому +1

    In java 8, you create a helper class in the interface with private static methods and private ctor. You leak out there is a helper class, but with no methods visible and no instatiation possible. Not ideal, private methods on interface are nice, but "there is nothing you can do" is too strong of a statement.

    • @deepakbisht4957
      @deepakbisht4957 6 місяців тому

      To be honest I don't like the idea of any implementation in an interface.
      I always try to avoid it...

  • @gamechanger750
    @gamechanger750 3 роки тому

    22:07

  • @dark_evil77
    @dark_evil77 3 роки тому +1

    creepy ide

  • @dinobulja
    @dinobulja Рік тому +2

    You are talking about clean coffee and readability and using jshell doing even no indentation to demo? You pretty much violated all about clean coffee in first 6 minutes

  • @jesper7605
    @jesper7605 2 роки тому

    Not worth watching IMO.