Recent

Author Topic: END keyword not uppercase.  (Read 852 times)

VTwin

  • Hero Member
  • *****
  • Posts: 613
  • Former Turbo Pascal 3 user
Re: END keyword not uppercase.
« Reply #15 on: April 16, 2019, 01:58:53 am »
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).
« Last Edit: April 16, 2019, 02:12:34 am by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.11.6: Lazarus 2.0.1 svn r60918 (64 bit Cocoa)
Ubuntu 18.04.2: Lazarus 2.0.0 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.0 (64 bit on VBox)

bylaardt

  • Sr. Member
  • ****
  • Posts: 279
Re: END keyword not uppercase.
« Reply #16 on: April 16, 2019, 04:02:12 am »
Code: Pascal  [Select]
  1.   insignificantvarname  // for loops or other situations when i can reuse it.
  2.   ThisVarHasAContext    //  when i must explain
  3.   DO_NOT_DARE           // it's a screaming code
  4.   BDWTHISCANBESOCONFUSE // no comments
  5.  

lower or upper? i don't care... i merely can do it!

VTwin

  • Hero Member
  • *****
  • Posts: 613
  • Former Turbo Pascal 3 user
Re: END keyword not uppercase.
« Reply #17 on: April 16, 2019, 04:12:00 am »
Code: Pascal  [Select]
  1.   insignificantvarname  // for loops or other situations when i can reuse it.
  2.   ThisVarHasAContext    //  when i must explain
  3.   DO_NOT_DARE           // it's a screaming code
  4.   BDWTHISCANBESOCONFUSE // no comments
  5.  

lower or upper? i don't care... i merely can do it!

IMHO, consistency, readability, and not yelling is helpful. At my age I try to write self-documenting code that can be passed along.
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.11.6: Lazarus 2.0.1 svn r60918 (64 bit Cocoa)
Ubuntu 18.04.2: Lazarus 2.0.0 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.0 (64 bit on VBox)

bylaardt

  • Sr. Member
  • ****
  • Posts: 279
Re: END keyword not uppercase.
« Reply #18 on: April 17, 2019, 05:16:07 pm »
IMHO, consistency, readability, and not yelling is helpful. At my age I try to write self-documenting code that can be passed along.
+1

440bx

  • Hero Member
  • *****
  • Posts: 721
Re: END keyword not uppercase.
« Reply #19 on: April 17, 2019, 05:27:22 pm »
lower or upper? i don't care... i merely can do it!
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.)




using FPC v3.0.4 and Lazarus 1.8.2 on Windows 7 64bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 7798
Re: END keyword not uppercase.
« Reply #20 on: April 17, 2019, 05:54:29 pm »
Well, I have this idea to have a poll to make C keywords mandatory uppercase in C21 (Plz vote YES, we don't care, cuz Pascal is case agnostic).
We can keep it under the radar of the C community and publish a draft RFC after the outcome, thus setting a precedent.. :D %) 8-) O:-)
(It's  not that strange: it is like how C++ was born)
« Last Edit: April 17, 2019, 05:59:59 pm by Thaddy »
Ad Brexinitum (can't help it)