What can you do to a legacy codebase that will have the greatest impact on improving the quality?

Read Michael Feather’s book “Working effectively with Legacy Code” This is a GREAT book. If you don’t like that answer, then the best advice I can give would be: First, stop making new legacy code[1] [1]: Legacy code = code without unit tests and therefore an unknown Changing legacy code without an automated test suite …

Read more

What makes code legacy?

By using hardware, software, APIs, languages, technologies or features that are either no longer supported or have been superceded, typically combined with little to no possibility of ever replacing that code, instead using it til it or the system dies.

MS Access DB Engine (32-bit) with Office 64-bit

Here’s a workaround for installing the 64-bit version of the Microsoft Access Database Engine 2010 redistributable on a system with a 32-bit MS Office version installed: Check the 64-bit registry key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\FilesPaths” before installing the 64-bit version of the Microsoft Access Database Engine 2010 redistributable. If it does not contain the “mso.dll” registry value, then …

Read more

Why are some views located inside the legacy tab in Android Studio 3.1 and what replaces them?

ListView – replaced with RecyclerView TabHost – replaced with TabLayout RelativeLayout – replaced with ConstraintLayout GridView – replaced with ConstraintLayout Mostly due to the new ones having better performance. RecyclerView.Adapter has implemented the popular and recommended holder pattern and supports modern layout transitions. It also accepts a layout manager allowing you to easily implement a …

Read more

Being pressured to GOTO the dark-side

How many bugs have been introduced because of incorrectly written GOTOs? How much money did they cost the company? Turn the issue into something concrete, rather than “this feels bad”. Once you can get it recognized as a problem by the people in charge, turn it into a policy like, “no new GOTOs for anything …

Read more