4 ms·
What are you doing with python and go that "just works"? Writing scripts? It takes a lot more work to build a yelp clone with python than it does with react.
by zxcvcxz 10y ago
What are you doing with python and go that "just works"? Writing scripts? It takes a lot more work to build a yelp clone with python than it does with react.
- Cyph0n 10y ago> What are you doing with python and go that "just works"? Anything you want. Dependency management is taken care of by a simple `pip install flask`, or a requirements.txt. The rest depends on the packages you are using. > It takes a lot more work to build a yelp clone with python than it does with react. And why do you think that? I could build a simple and performant Yelp clone with full authentication, admin access, and persistence using only a handful of Python packages: * Flask: web app microframework * Jinja2: view templating language * SQLAlchemy: database ORM * Psycopg: Postgres database driver * Flask-SQLAlchemy: Flask plugin for SQLAlchemy * Flask-Login: authentication, accounts * Flask-Admin: administration Of course, just like in the case of React, you'd need HTML + CSS for styling, and JS in case you'd like interactive elements. And finally, to run the app in production, I'd use Nginx + uWSGI.
- zxcvcxz 10y agoYeah so it's really not very simple.
- Cyph0n 10y agoWell yeah, it's not really an apples to apples comparison. A Yelp clone written in React lacks user auth, persistence, and admin.
- Drdrdrq 10y agoAnd you will be able to use the same python tools for years to come. Good luck with JS frameworks there!
- rrrhys 10y ago"My tool that I'm intimately familiar with is easier than that tool that I don't know much about"
- EdwardDiego 10y ago> Anything you want. Dependency management is taken care of by a simple `pip install flask`, or a requirements.txt. And what if I want to use multiple versions of a given library for my development? Suddenly I'm learning virtualenv...
- afarrell 10y agoOr, if you want to use compiled code and have it be installable on multiple OSs, conda