What is Legacy Code?

[et_pb_section fb_built="1" _builder_version="3.22"][et_pb_row _builder_version="4.4.1" background_size="initial" background_position="top_left" background_repeat="repeat" hover_enabled="0" column_structure="1_3,1_3,1_3"][et_pb_column _builder_version="4.4.1" type="1_3"][et_pb_text _builder_version="4.4.1" hover_enabled="0"]<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ac&ref=tf_til&ad_type=product_link&tracking_id=markrosario-20&marketplace=amazon&region=US&placement=B005OYHF0A&asins=B005OYHF0A&linkId=8799b28587fd691d0ccbd8530f4f8655&show_border=true&link_opens_in_new_window=true&price_color=333333&title_color=0066c0&bg_color=ffffff">      </iframe>[/et_pb_text][/et_pb_column][et_pb_column type="1_3" _builder_version="3.25" custom_padding="|||" custom_padding__hover="|||"][et_pb_text _builder_version="3.27.4" background_size="initial" background_position="top_left" background_repeat="repeat" custom_margin="|-305px||||"]<!-- divi:paragraph -->  <p>Michael Feather's defines it as "Code without tests". </p>  <!-- /divi:paragraph -->    <!-- divi:paragraph -->  <p>Legacy code is not really about old code. <br>Old code with tests is maintainable, modifiable, readable, it is a testament that the previous team/developer(s) had concern, concern for the craft and the future maintainers of the code and the future of the organization.</p>  <!-- /divi:paragraph -->    <!-- divi:quote -->  <blockquote class="wp-block-quote"><p>spectactor: what is your team doing?</p><p>tech lead: ah, they are writing legacy code</p></blockquote>  <!-- /divi:quote -->    <!-- divi:paragraph -->  <p></p>  <!-- /divi:paragraph -->[/et_pb_text][/et_pb_column][et_pb_column type="1_3" _builder_version="3.25" custom_padding="|||" custom_padding__hover="|||"][/et_pb_column][/et_pb_row][et_pb_row _builder_version="4.4.1"][et_pb_column _builder_version="4.4.1" type="4_4"][et_pb_text _builder_version="4.4.1" hover_enabled="0"]Knowing just this solid definition of what legacy code is gave a direction to my way of coding, and the way set the direction of our software projects. It should be about quality, it could be achieved by automated tests.      Test, test, test, acceptance tests, unit tests, integration tests, api tests, the Testing Triangle, all of my projects will have these to ensure we won't be writing legacy code anymore.[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]    <!-- /wp:divi/placeholder -->