support a shorter file extension #1335
Replies: 2 comments 2 replies
-
I think conflicts are not a big concern since even Rust's To me, the most important thing with an extension is a well founded association in a user's head. I'm not sure how other languages solved this problem, but for gleam, the |
Beta Was this translation helpful? Give feedback.
-
I like what Chris Lattner and the Modular team did with mojo. You can use .mojo or .🔥 I think .⭐️ as an additional extension would be a nice compromise. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know this is not a huge issue but it's better to have the discussion early in the development rather than late. Anyway,
gleam
is pretty long for a file extension and it would look much better if we could use a shorter one. So I looked up a few extensions in fileinfo and these are the results:1- gl: apparently an old graphical extension that I couldn't even find the programs to open it with(grasp, probably glpro and aftergrasp). The chance of confusion or error is almost none. But I don't know if it's ok to just hijack it. Is there any rules to this?
2- glm: model files used by ghoul game engine by raven software. I'm not sure whether they still use that engine or not but it doesn't matter. Again, the chance of confusion or error is almost none. But maybe using an existing file extension is still not a good idea? I don't know!
3- gli: fileinfo didn't recognize this one. But apparently it's used by this engineering design software used for designing ground loop heat exchangers(whatever they are). It's pretty niche so I think this one is safe to use too.
Beta Was this translation helpful? Give feedback.
All reactions