mine:
.fex-Flat executable
.cex-Crutch executable
of course I'll have elf etc.
By the way the Crutch operating system is under way!!!

No 3 letter rule in Windows; although it is still conventional. You can have pretty much as many letters as you want in an extension. (Who cares what Unix does?)Brynet-Inc wrote:Unix-like operating systems don't typically use file extensions for binaries... configuration files often do, but they're not held back by that weird DOS/Windows 3-letter rule..
Because (for me) that system is very easy to deal with.No 3 letter rule in Windows; although it is still conventional. You can have pretty much as many letters as you want in an extension. (Who cares what Unix does?)
For executables, there needs to be .exe, otherwise explorer/cmd won't execute it. Although the lower level of the system probably doesn't actually care.mathematician wrote:No 3 letter rule in Windows; although it is still conventional. You can have pretty much as many letters as you want in an extension. (Who cares what Unix does?)
In the Unix world, you do. In the Windows world, you don't. You execute an executable which then executes the script.You execute not only executables, you execute scripts, too.
I agree with that.Naming your scripts "*.exe" is wrong, because a script can be edited, an executable cannot.
Naming your scripts "*.script" or something is pretty arbitrary, and doesn't add much usefull information.
On Windows, there is a list of "auto-extensions" (by default it includes exe and bat). When you want to run hello.bat you just type hello. That could be used for any number of language extensions. To call print.rexx you just type print. The shell then finds print.rexx, then it finds the rexx interpreter (associated with .rexx files) and runs it.Naming your scripts with a "language wart" ("*.py" or "*.pl" or "*.sh" or "*.rexx" or whatever) isn't very helpful either, because why should you have to remember what language your script "prime" is written in, just to be able to call it?
Effectively you do this on Unix, too. ("./myScript.pl" and "perl ./myScript.pl" are effectively identical.)Wave wrote:While I'm not sure about whether to have extensions or not, I can say for sure that Solar's argumentation isn't right.
In the Unix world, you do. In the Windows world, you don't. You execute an executable which then executes the script.You execute not only executables, you execute scripts, too.
On Windows, there is a list of "auto-extensions" (by default it includes exe and bat). When you want to run hello.bat you just type hello.[/quote]Naming your scripts with a "language wart" ("*.py" or "*.pl" or "*.sh" or "*.rexx" or whatever) isn't very helpful either, because why should you have to remember what language your script "prime" is written in, just to be able to call it?
...and gets confused if there is a print.pl and a print.py as well... nah, I'm still opposed to language warts.To call print.rexx you just type print. The shell then finds print.rexx, then it finds the rexx interpreter (associated with .rexx files) and runs it.