Forum > Options

END keyword not uppercase.

<< < (4/6) > >>

VTwin:
I programed in FORTRAN before it was Fortran. :)

Sounds like a bug, but I generally agree with Thaddy. I use lower case for key words, basic data types (byte, integer, string, double), and parameters (or, horrors, camelCase).

bylaardt:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---  insignificantvarname  // for loops or other situations when i can reuse it.  ThisVarHasAContext    //  when i must explain  DO_NOT_DARE           // it's a screaming code  BDWTHISCANBESOCONFUSE // no comments 
lower or upper? i don't care... i merely can do it!

VTwin:

--- Quote from: bylaardt on April 16, 2019, 04:02:12 am ---
--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---  insignificantvarname  // for loops or other situations when i can reuse it.  ThisVarHasAContext    //  when i must explain  DO_NOT_DARE           // it's a screaming code  BDWTHISCANBESOCONFUSE // no comments 
lower or upper? i don't care... i merely can do it!

--- End quote ---

IMHO, consistency, readability, and not yelling is helpful. At my age I try to write self-documenting code that can be passed along.

bylaardt:

--- Quote from: VTwin on April 16, 2019, 04:12:00 am ---IMHO, consistency, readability, and not yelling is helpful. At my age I try to write self-documenting code that can be passed along.

--- End quote ---
+1

440bx:

--- Quote from: bylaardt on April 16, 2019, 04:02:12 am ---lower or upper? i don't care... i merely can do it!

--- End quote ---
People can jump off the top of a high-rise without a parachute, it doesn't imply it's a good idea.  That said, TTBOMK, there have not been any casualties as a result of someone jumping off an uppercased letter (with or without a parachute.)




Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version