4 ms·
if the author is reading, be aware that `.ss` is used by a lot of Scheme implementations.
by soapdog 7y ago
if the author is reading, be aware that `.ss` is used by a lot of Scheme implementations.
- mythz 7y ago‘.ss’ is the most obvious ext for “SharpScript”, but that only applies for stand-alone scripts where you can also use .html extension since most of time it’s used as a template language inside HTML pages that’s embedded inside a .NET/Core App to provide dynamic scripting, in which case ‘.ss’ is never used.
- elcomet 7y agoHe should have used '.sh'
- mythz 7y ago.sh is for shell scripts which is the only time where #Script stand-alone .ss scripts are used, overloading .sh would confuse what’s a Bash Script or a #Script Script, which are completely different.
- Sammi 7y agoWoosh
- WorldMaker 7y agoOr the actual Sharp symbol. The plain octothorpe (#) is reserved and unavailable for filenames, but most Unicode-capable file systems should be fine with the Sharp symbol, and I'm sure that wouldn't be confusing at all http://www.fileformat.info/info/unicode/char/266f/index.htm http://www.fileformat.info/info/unicode/char/266f/index.htm ETA: Of course HN's own Unicode eater doesn't like the Sharp symbol in posts.
- benbristow 7y agoCould use 'sscr' perhaps? (although close to scr for screensaver files)
- Jare 7y agoWhen are we going to open up to `.s#`
- WorldMaker 7y agoThe basic `#` is a reserved character in most shells (for comments, typically), and reserved in both POSIX file naming and Windows file naming conventions. The similar looking Unicode Sharp, however is available.
- saurik 7y agoFWIW, in bash you can "vim hello.s#" without issue (for # to be a comment, it must be preceded by whitespace).