Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Wrong idioms

by Jenda (Abbot)
on Apr 01, 2013 at 10:48 UTC ( #1026459=note: print w/ replies, xml ) Need Help??


in reply to Wrong idioms

Now does or does the framework not require that the extension of the filename is something specific? "0.tmpl" doesn't evaluate to false.

Besides why should you have a file named "0"?

Jenda
Enoch was right!
Enjoy the last years of Rome.


Comment on Re: Wrong idioms
Re^2: Wrong idioms
by BrowserUk (Pope) on Apr 01, 2013 at 11:27 UTC
    Besides why should you have a file named "0"?

    Because that's what got sent. Or because it is one of a series.

    Or more simply, why not?


    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.

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

        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.
Re^2: Wrong idioms
by Anonymous Monk on Apr 02, 2013 at 08:31 UTC

    Besides why should you have a file named "0"?

    Why should Jenda be Jenda?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-12-21 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls