The Lost Art of Right Aligning Code

added by DotNetKicks
3/19/2019 7:39:24 PM

2 Kicks, 445 Views

When I was a C / C++ developer I created and read right-aligned code all the time. The alignment makes patterns in code easier to find. For another example in Go, it's easier to see which entries point to a "no-operation" function in the following hash map, because you can scan vertically down the file.