Do the lines of code affect the program size? lazarus / 61-Beginners ---------------------------------------------------------------------- Weitentaaal · 2022-02-15 08:34 Hello, Question in the Title (Same Code just with different amount of Lines). was just wondering if it does. Example1 : Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i       z1,    z2,      z3,      z4,      z5,      z6,      z7,      z8,      z9,      z10: Integer;  Example2: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i       z1, z2, z3, z4, z5, z6, z7, z8, z9, z10: Integer;  i do preffer the first Example because of readability, so i asked myself if i do get any disadvantage out of it. ---------------------------------------------------------------------- Laksen · 2022-02-15 08:43 No ---------------------------------------------------------------------- howardpc · 2022-02-15 08:54 Quote from: Weitentaaal on February 15, 2022, 09:34:12 ami do preffer the first Example because of readability, so i asked myself if i do get any disadvantage out of it. If you develop on Windows, the only disadvantage - if you consider it so - is that the more readable example gives you a marginally larger source code file. For projects with tens of thousands of LOC you will notice a slight source code size penalty when preferring readability, since you will add consistent indenting, blank lines to separate sections of code that are logically separate, and so on. ---------------------------------------------------------------------- MarkMLl · 2022-02-15 08:55 Although it might affect the amount of debugging information appended. MarkMLl ---------------------------------------------------------------------- Weitentaaal · 2022-02-15 09:02 Ok, thank you guys !