Variables with a name ending in question mark

question?
is that a valid ruby variable name?
if not: would that be a useful feature for ruby to introduce?
if so: should I RCR it?

Thanks!
-Roger

On 10/1/07, Roger P. [email protected] wrote:

question?
is that a valid ruby variable name?

nope.

if not: would that be a useful feature for ruby to introduce?

perhaps, but I think it would be hard (impossible?) to do without
breaking this critical functionality:
http://redhanded.hobix.com/bits/theseYelpsAndSquealsAreTotallyValid.html

o.0,
-Harold

variables ending with ? are not valid in Ruby.
They would not be useful.
Methods ending in ? normally return true or false.

On 10/1/07, Roger P. [email protected] wrote:

breaking this critical functionality:
http://redhanded.hobix.com/bits/theseYelpsAndSquealsAreTotallyValid.html

Question: are these YelpsAndSqueals used much?

As José Jiménez
José Jiménez (character) - Wikipedia in
his “Reluctant Astronaut” role was wont to say in response to the
question, “What’s that your’e holding? Is that your crash helmet?”

"Oooo, I hope not1’


Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/

Harold H. wrote:

On 10/1/07, Roger P. [email protected] wrote:

question?
is that a valid ruby variable name?

nope.

if not: would that be a useful feature for ruby to introduce?

perhaps, but I think it would be hard (impossible?) to do without
breaking this critical functionality:
http://redhanded.hobix.com/bits/theseYelpsAndSquealsAreTotallyValid.html

o.0,
-Harold

Question: are these YelpsAndSqueals used much?