Twelve Ways to Make Code Suck Less by Venkat Subramaniam

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 46

  • @bulatgabid
    @bulatgabid 4 года назад +58

    2:43 Schedule time to lower technical debt
    8:55 Favor high cohesion
    10:39 Favor loose coupling
    13:30 Program with intention
    16:04 Avoid primitive obsession
    24:38 Prefer clear code over clever code
    28:10 Apply Zinsser’s principle on writing
    31:30 Comment why, not what
    35:34 Avoid long methods - apply SLAP
    38:35 Give good meaningful names
    46:18 Do tactical code reviews
    51:01 Reduce state and state mutation

  • @janardhancv1127
    @janardhancv1127 8 лет назад +27

    wow! This is professional! Very Inspiring! Thanks Venkat for the great thoughts.

  • @munishmisra169
    @munishmisra169 7 лет назад +8

    Years of experience in an hour with flawless presentation skill. Thanks Venkat.

  • @sujittripathy84
    @sujittripathy84 8 лет назад +14

    This is amazing presentation. Thank you Venkat for all your thoughts.

  • @monk3ification
    @monk3ification 7 лет назад +5

    Absolutely amazing talk! This is one of the best talks on code quality that I've ever seen!

  • @orlovskyconsulting
    @orlovskyconsulting 4 года назад +1

    Another great talk from Venkat! Such treasure.

  • @amitev
    @amitev 5 лет назад +2

    It's a pleasure to listen to him!

  • @naranzala5867
    @naranzala5867 5 лет назад +1

    I've started following your videos and thoughts. Thank you so much for this wonderful knowledge tranfer..

  • @Jack-4242
    @Jack-4242 8 лет назад +3

    I think it a very nice presentation with useful knowledge provided, but at 18:55 i actually think the code is a bad example.
    The task is formulated very confusingly, I did at first not even understand what the purpose of this function should be.
    And the errors he does on purpose are very obvious. Everyone should see immediately that it does not make any sense to check for count < 0 if you initialize it with 0.

  • @ThibaudVibes
    @ThibaudVibes 8 лет назад +12

    It's me or Mr Subramaniam is on stage without shoes ?
    Anyway this is a very inspiring talk. Thanks.

    • @anshulabhinav13
      @anshulabhinav13 8 лет назад +5

      yeah, he has this habit of walking the stage in his socks :)

    • @SagirAnsari-bn7oj
      @SagirAnsari-bn7oj 4 года назад +5

      In indian culture without shoes shows more respect to audience and I am Indian

    • @crabsynth3480
      @crabsynth3480 4 года назад +1

      @@SagirAnsari-bn7oj i dont think theres any respect in not wearing shoes for the audience... no offence... im also indian... and i think its just more comfortable to walk around the stage in socks when ur giving a 1-2 hour talk.

    • @dineshjangra563
      @dineshjangra563 4 года назад

      @@crabsynth3480 I disagree, even my professor used to remove slippers/shoes before going onto the stage/platform in class to teach, not because of comfort but due to traditions & respect.

    • @karthikraghunathan3363
      @karthikraghunathan3363 4 года назад +5

      yes, his shoes are typically injected at runtime

  • @kamillatosinski3054
    @kamillatosinski3054 7 лет назад +3

    Even I know most of the principles this is still extrimly entartaining to watch!

  • @SasiKumarNHS
    @SasiKumarNHS 7 лет назад +1

    I have tested both "Imperative Style" and "Functional Style" example being given in the video and it seems imperative looks pretty hard to understand and Functional style looks good and easy. But the problem is Functional style take little more amount of time than the imperative style. Does that makes the impact? Can some on suggest on this?

    • @Pedro-qy1fl
      @Pedro-qy1fl 7 лет назад +2

      He made another presentation about functional coding:
      /watch?v=I4wuMV8N6Iw

  • @bhaaratsharma6023
    @bhaaratsharma6023 5 лет назад

    I wanted to have his opinion on problem at 18:00 before Java 8 was out.

  • @alexlaverty8564
    @alexlaverty8564 7 лет назад

    These videos are awesome, please make more

  • @bartoszbilicki2673
    @bartoszbilicki2673 7 лет назад

    Excellent presentation.

  • @dkypa
    @dkypa 8 лет назад

    You're Vivekananda of programming.. Thanks Venkat..

  • @Berke-Khan
    @Berke-Khan 5 лет назад

    great speech

  • @McDerpDerp
    @McDerpDerp 3 года назад

    Those jeans mean you are amazing at computers. One love.

  • @johnnyshoes3708
    @johnnyshoes3708 7 лет назад

    #1 is questionable. If you implement High Cohesion, then you implement MCV / MVP / MVVM, and one of the first things you do is write getters/setters for the Model. So, straight off the bat, before you've implemented behaviour, you've written a tonne of state information.right?

  • @hasnainabbasdilawar8832
    @hasnainabbasdilawar8832 6 лет назад +1

    I wish this guy was my teacher

  • @timonix2
    @timonix2 4 года назад

    sometimes, you comment bad code instead of fixing it due to time constraints. You comment because you know that someone is going to have to come back here later and that poor sod shouldn't have to start solving some code sudoku from scratch.

  • @JaihindhReddy
    @JaihindhReddy 7 лет назад

    He's right about GRE.

  • @ranjithsekar1950
    @ranjithsekar1950 7 лет назад

    Comment why, not what... super

  • @mailmahee
    @mailmahee 7 лет назад +1

    you mention a lot of problems in depth... it would be great if you can elaborate on solutions as well in the same depth

  • @adamsn06
    @adamsn06 8 лет назад

    What IDE/editor is he using?

  • @supericool
    @supericool 8 лет назад +1

    Where are this guys's shoes?

  • @tsequeira39899
    @tsequeira39899 7 лет назад +1

    The hard-copy www.agiledeveloper.com/presentations/twelve_ways_to_make_code_suck_less.pdf

  • @karthikraghunathan3363
    @karthikraghunathan3363 4 года назад

    National Off-By-1 Error Day !!!! at 19:00

  • @_SG_1
    @_SG_1 8 лет назад +3

    Sprinkled with functional programming and immutability zealotry.

  • @holothuroid9111
    @holothuroid9111 7 лет назад

    Venkat is really great programmer, as a trained historian, his idea on the beginning of agriculture, I must say, is naive at best.

  • @CrapE_DM
    @CrapE_DM 7 лет назад

    Lol, someone said thought Venkat looked normal.

  • @bayraminanc885
    @bayraminanc885 4 года назад

    I think OOP sucks

  • @twanus2657
    @twanus2657 5 лет назад

    méh

  • @johnnyshoes3708
    @johnnyshoes3708 7 лет назад

    Mr Venkat we need this bit of functionality, how long will it take? Venkat "1 month", What? surely, it can be written in a day? Venkat "my code is quality, I need 2 weeks to think of good variable names, 1 day to write it, and 9 days to factor it ( I mean, to free it from Technical Debt)" Screw that, give it to the temp guy, he's a crap programmer, but, he'll get it done in a day!