Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

gcc

Name: Anonymous 2009-05-29 12:50

What characters can I use in identifiers, am I limited to [A-Za-z0-9_]?

Name: Anonymous 2009-05-29 12:54

Only the first 8 characters count, and identifiers cannot start with a digit.

Name: Anonymous 2009-05-29 12:57

>>2
More like 6.

How would I go about using non-ASCII characters in identifiers?

Name: Anonymous 2009-05-29 13:16

Use only three lowercase letters from a to r. That's the safest way.

Name: Anonymous 2009-05-29 13:17

>>4
like car?

Name: Anonymous 2009-05-29 14:09

>>5
Of course.  Everyone likes car.

Name: Anonymous 2009-05-29 14:13

(define first car)
(define rest cdr)

Name: Anonymous 2009-05-29 15:03

(define contents-of-address-register car)
(define contents-of-decrement-register cdr)

Name: Anonymous 2009-05-29 15:07

(define get-the-contents-of-the-address-register contents-of-address-register)
(define get-the-contents-of-the-decrement-register contents-of-decrement-register)


ENTERPRISE BEST CODING PRACTICE SELF-DOCUMENTING VARIABLE NAMES

Name: Anonymous 2009-05-29 15:30

(define contents-of-address-register-lambda-function-factory-implementation (lambda () car))

Name: Anonymous 2009-05-29 16:56

If you want real Enterprise Naming you would modify the language so that
(define get-the-contents-of-the-address-register contents-of-address-register)
becomes

(assignTheName getTheContentsOfTheAddressRegister contentsOfAddressRegister)

Name: Anonymous 2009-05-29 18:51

>>11
(define assignTheName define)

Name: Anonymous 2009-05-29 19:35

>>12 fails at pretending to be a lisp hacker pretending to be a Java monkey.
(define bindSymbolToValue define)

Name: Anonymous 2009-05-29 20:24

>>13 fails at reading >>11 and ends up misplacing blame.

Name: Anonymous 2009-05-29 20:44

>>13
Who is the bigger failure: he who writes invalid lisp code, or he who calls the first a failure while writing equally invalid lisp code with a superficial change?

Don't change these.
Name: Email:
Entire Thread Thread List