Cleaner Code

By David Gyenes, Director of Information Technology

– Cleaner Code –

There are many different ways to write a coding block- some clearer than others. One way that I’ve found improves readability is by not using a variable in my table records. Both codes work, but I find the latter to be cleaner.

Using a variable:

							
					Let i := create ‘Table Name’;
i.‘Field 1’ := “Something”;
i.‘Field 2’ := “Something2”;
popupRecord(i)				
			

Not using a variable:

en_US