are you working with software?

[et_pb_section admin_label=”section”] [et_pb_row admin_label=”row”] [et_pb_column type=”4_4″][et_pb_text admin_label=”Text”]

if you work with software you should be browsing https://dev.to/

it is a community of programmers by programmers

the site makes it easy to stumble upon new usable information everyday

anyway, if you aint in the mood to be productive today why not vent-out and rant away at https://devrant.com/?

[/et_pb_text][/et_pb_column] [/et_pb_row] [/et_pb_section]

What is Legacy Code?

Michael Feather’s defines it as “Code without tests”.

Legacy code is not really about old 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″][/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||||”]

Michael Feather’s defines it as “Code without tests”.

Legacy code is not really about old code.
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.

spectactor: what is your team doing?

tech lead: ah, they are writing legacy code

[/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]