"bearophile" <[email protected]> wrote in message news:[email protected]... > > auto x; > if (localtime().hours >= 8) { > x = "awake!" > } else { > x = "asleep, go away." > } > log "I'm " + x; >
That would be really nice to have in D. There's been many times I've needed to move a declaration up one scope from its initialization and was therefore forced to get rid of the "auto". Not a major problem obviously, but that sure would be nice.
