Successfully reported this slideshow.

Is this Legacy or Revenant Code? - Sergey Sergyenko | Ruby Meditation 30

0

Share

1 of 22
1 of 22

Is this Legacy or Revenant Code? - Sergey Sergyenko | Ruby Meditation 30

0

Share

Download to read offline

Talk of Sergey Sergyenko, CEO at Cybergizer, at Ruby Meditation #30 Online 24.10.2020
Next conference - http://www.rubymeditation.com/

Description:
I hope that the code I write continues to be used after I die. Which is why I only ever write legacy code" - this is what Patterson mentioned on his Twitter last September. In this talk, I will define metrics and try to distinguish code from Legacy to the one that Survived. Also, I will introduce the so-called "Code Survival" refactoring approach.

Announcements and conference materials https://www.fb.me/RubyMeditation
News https://twitter.com/RubyMeditation
Photos https://www.instagram.com/RubyMeditation
The stream of Ruby conferences (not just ours) https://t.me/RubyMeditation

Talk of Sergey Sergyenko, CEO at Cybergizer, at Ruby Meditation #30 Online 24.10.2020
Next conference - http://www.rubymeditation.com/

Description:
I hope that the code I write continues to be used after I die. Which is why I only ever write legacy code" - this is what Patterson mentioned on his Twitter last September. In this talk, I will define metrics and try to distinguish code from Legacy to the one that Survived. Also, I will introduce the so-called "Code Survival" refactoring approach.

Announcements and conference materials https://www.fb.me/RubyMeditation
News https://twitter.com/RubyMeditation
Photos https://www.instagram.com/RubyMeditation
The stream of Ruby conferences (not just ours) https://t.me/RubyMeditation

More Related Content

More from Ruby Meditation

Related Books

Free with a 14 day trial from Scribd

See all

Related Audiobooks

Free with a 14 day trial from Scribd

See all

Is this Legacy or Revenant Code? - Sergey Sergyenko | Ruby Meditation 30

  1. 1. LEGACY OR REVENANT CODE SERGEY SERGYENKO CEO, Cybergizer BELARUS RUBY USER GROUP
  2. 2. https://twitter.com/tenderlove/status/1308237713464635393
  3. 3. https://github.com/chrislgarry/apollo-11
  4. 4. Legacy Code is code inherited from another developer or team which uses older technologies that are no longer supported or have been superceded by a newer version. Many programmers say that “code becomes legacy code as soon as it’s writtern”
  5. 5. The reason that programmers think the old code is a mess is because of a cardinal, fundamental law of programming: IT’S HARDER TO READ CODE THAT TO WRITE IT
  6. 6. There are TWO KINDS of software: the one that people complain about and the one that nobody uses.
  7. 7. LEGACY CODE ALWAYS WINS OVER GOOD CODE
  8. 8. HOW TO CREATE GOOD LEGACY CODE?
  9. 9. The longer a piece of code lasts in a codease, the MORE VALUE it can deliver. Customers don’t care about the age of the code, they care about WORKING SOFTWARE.
  10. 10. The Roman bridges of antiquity were very inefficient structures. By modern standards, they used too much stone, and as a result, far too much labour to build. Over the years we have learned to build bridges more efficiently, using fewer materials and less labour to perform the same task. - Tom Clancy (The Sum of All Fears)
  11. 11. Biological Systems, as a Human for example, can’t be a legacy, b/c of aging, but they can produce it and measured by its Value. HOW DO YOU CREATE SYSTEMS THAT SURVIVE? HOW DO WE CREATE SYSTEMS THAT OUTLAST US?
  12. 12. Chad Fowler: https://www.youtube.com/watch?v=YruzQgWdv48
  13. 13. It all comes back to one thing: CODE SURVIVES by providing VALUE and being DIFFICULT TO REPLACE THE REVENANT CODE
  14. 14. ONE PAGE PROGRAM: RECYCLE THE CODE: KILL AND REPLACE CODE PERMANENTLY SMALL THINGS ARE GOOD IMMUTABLE DEPLOYMENS: NEVER UPGRADE SOFTWARE ON AN EXISTING NODE
  15. 15. MONITOR EVERYTHING: https://github.com/testdouble/suture USE IT TO ELABORATE BUSINESS REQSFAVOR MEASUREMENT OVER TESTING TRACK GENERATIONS OF WINNERS: PLAN VALIDATE COMPARE CUT REFACTOR FALLBACK RECORD VERIFY DELETE
  16. 16. THANK YOU! SERGEY SERGYENKO CEO, Cybergizer BELARUS RUBY USER GROUP @sergyenko

×