|
|
|
|
|
by javiertoledo
3543 days ago
|
|
At my company we're starting to build a next generation open-source e-commerce platform, and we believe it makes a lot of sense to use Swift as the main programming language given its popularity, performance, and functional spirit. We know that this won't be an easy road given that using Swift in the server is new, but that makes the quest even more interesting for us, and we think that strong initiatives like this one can benefit the overall Swift community. We'd love to get some feedback about this idea, and we're very welcoming to anyone who’s interested in helping. |
|
1. Lack of schema is a horrible idea, especially at the beginning. It may be necessary in some selected places, but if that's your approach to data design you'll end up with unmaintainable mess that keeps tripping over differences in data interpretation and inserting garbage due to trivial mistakes. Then you'll be the one explaining to your clients that images are not being displayed because "imgaeid":"45" was found in place of expected "imageId": 45. It doesn't simplify anything.
2. I am not sure what resources do you have, but introducing innovative (and largely untested) language and various aspects of architecture all at once is very ambitious. Swift looks nice (though I prefer Rust), but both language and its libraries will be moving target for years, and that's pain even for languages that were well designed. Being event driven looks nice too... but I am not sure if anyone can figure out if its better to be 100% ED or maybe only 45 is just right. This might be to much to chew on.