Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^3: Wrong idioms

by hdb (Monsignor)
on Apr 01, 2013 at 12:06 UTC ( #1026469=note: print w/replies, xml ) Need Help??

in reply to Re^2: Wrong idioms
in thread Wrong idioms

Does the idiom only apply to filenames? For a directory name, "0" would be not too esoteric.

Replies are listed 'Best First'.
Re^4: Wrong idioms
by BrowserUk (Pope) on Apr 01, 2013 at 12:43 UTC

    My position is that application programs should not impose restrictions that are not enforced by the OS. Full stop.

    And for portability reasons, applications should not attempt to "validate" file or pathnames. Let the OS do it and then reports its conclusions.

    Any other approach is just pointless make work; and will inevitably comes back to bite you in the ass.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026469]
and one hand claps...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2018-05-22 10:50 GMT
Find Nodes?
    Voting Booth?