Comments (8)
cool, let's keep it simple and explicit. Thanks for the feedback!
from mojo.
The examples you cite (.jpg etc) go back to old dos/windows days which only supported 3 character extensions, but those days are over. and I have experience with the swift community using the .swift file extension - which was fine even though its 25% longer than mojo :).
I personally don't think that this is something that we should do. Supporting two different extensions is enough, I don't think we should fragment things further. Do you have additional rationale other than "some other older languages did it this way"?
from mojo.
Do you have additional rationale other than "some other older languages did it this way"?
Yes, mainly the possible benefits in readability and typing efficiency from having a shorter extension.
However, you bring up a very good point with swift, it doesn't seem like its extension length particularly hindered its adoption or development efficiency in a significant way, and I suppose it can be nice to have more unified naming for a file type.
So with those things considered, I suppose it ultimately comes down to the preference of you and others on the team 🔥 🙂.
from mojo.
LDJnr has a valid point about the .mj
extension. I heard of this Mojo from a YouTube podcast and thought it was a cool undertaking. However, ignoring developer requests just because you're used to it in Swift is not good practice especially when you want all your hard work to be adopted. Companies try as hard as they can to lure consumer into their products even by using shorter slogans and memorable phrases. So, rather than justifying the swifterization of python, just give devz a shorter extension. I hate the emoji extension as much as I hate writing .mojo
To add a 🔥 emoji I had to add an emoji keyboard and double-click Fn, wait for the emoji keyboard, search for "fire", it was even worse in Windows I had to press Windows + .
and search for the 🔥 emoji after being disrupted by a sea of GIFs.
I'm keen on trying this Mojo out but I'm worried that we can't offer any contributions thanks to our Swift overlords. Look, I'm a big fan of typed, being a C, C++, and Kotlin/Java programmer as well, however not listening to your devz is always a bad idea. We need a better extension than this joke.
Please take this as constructive criticism. I like your objective but the extensions are not appealing.
from mojo.
+1 for this. So maybe we could replace .mojo
with .mj
? Then it will be 2.5x speedup (2 times faster than previous) over Swift in terms of typing :D
from mojo.
@southerndevz just to be clear, you can use .mojo if you'd prefer, no one is forcing the use of fire emoji as an extension.
from mojo.
.mojo
is not appealing at all to tell you the truth. But if you're not ready to give this extension then that's fine.
from mojo.
I would think all two letter extensions and most likely three letter extensions are used by now. As a bonus, .mojo sounds like what its used for.
from mojo.
Related Issues (20)
- [Docs] Typo in manual for Python integration
- [BUG] [Parser] Crash when unresolved variable matches identifier of a (unimported) package identifier HOT 4
- [BUG]: Crash on invalid snippet upon using the member access operator HOT 2
- [BUG]: Wrong compiler error when providing correct function as parameter HOT 1
- [BUG]: Trying to use autocomplete in Mojo Playground causes a crash HOT 4
- [BUG]: Accuracy loss in the `math.exp` function HOT 1
- [BUG]: Mojo failed to install correctly
- [Feature Request] Extend `polynomial_evaluate` to Support `StaticTuple` Coefficients
- [Docs] Decorator of `@export` is missing in the doc
- [BUG]: Parser crash `typeDecl && "expected a user type"'
- [BUG]: Cannot install modular on Apple Silicon - Getting error that Intel is not supported HOT 3
- The last version of Mojo released by Modular was Mojo 0.6.1 dated 12/18/2023. Since each release is a month apart from the one before it, the company is supposed to release another version of Mojo on 1/17/2024.
- [BUG]: Mojo fails to build program with simple `while` loop HOT 1
- [BUG]: `IntLiteral`'s `__iadd__` etc. methods doesn't work in (dynamic) loops, needs better error message HOT 4
- [BUG]: Error if the file is called math.🔥 / math.mojo HOT 3
- [Docs] The optional arguments link does not work
- Code provided by sushat to calculate the row mean of a tensor in the blog is not working HOT 5
- [BUG]: ERROR elf_dynamic_array_reader.h:64] tag not found HOT 1
- [BUG]: Interpreter crash with UInt8x32 in alias HOT 2
- [BUG]: Variable of trivial type not destroyed by transferring ownership HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mojo.