Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Program Real Line Counter. Anyone want to jump in?
#20
(10-23-2022, 06:10 AM)Pete Wrote: 1) It's parsing, which makes it fun.

2) Practical use: Contests.

Once in a blue moon someone will put together a contest. Maybe write a pong game in 100 lines or less. Maybe even fewest lines wins. Anyway, colons make it possible to place many statements on a single line. Parsing out the colons, which serve that purpose, makes judging the actual lines used to code the program quantifiable.

Pete

Like I always say, "Don't take it parsenally!"
Yep, now I get it.
I'll watch from the kiosk. Big Grin
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, Western Australia.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply


Messages In This Thread
RE: Program Real Line Counter. Anyone want to jump in? - by PhilOfPerth - 10-23-2022, 10:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  real 2-4 player Pong (requires 2-4 USB mice plugged into your PC) madscijr 1 741 06-26-2024, 01:09 PM
Last Post: madscijr
  RotoLine line drawing James D Jarvis 0 519 10-11-2023, 04:24 PM
Last Post: James D Jarvis

Forum Jump:


Users browsing this thread: 1 Guest(s)