News for hackers. Stuff that matters.
Re:React Tutorial: Cloning Yelp by Cyph0n on Thursday May 26, 2016 @06:43PM (#11782278)
> 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.

Re:React Tutorial: Cloning Yelp by EdwardDiego on Friday May 27, 2016 @12:08AM (#11783853)
> 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...

Re:React Tutorial: Cloning Yelp by afarrell on Friday May 27, 2016 @04:31AM (#11784660)
Or, if you want to use compiled code and have it be installable on multiple OSs, conda
Re:React Tutorial: Cloning Yelp by zxcvcxz on Thursday May 26, 2016 @06:57PM (#11782365)
Yeah so it's really not very simple.
Re:React Tutorial: Cloning Yelp by rrrhys on Thursday May 26, 2016 @10:58PM (#11783593)
"My tool that I'm intimately familiar with is easier than that tool that I don't know much about"
Re:React Tutorial: Cloning Yelp by Cyph0n on Thursday May 26, 2016 @07:06PM (#11782418)
Well yeah, it's not really an apples to apples comparison. A Yelp clone written in React lacks user auth, persistence, and admin.
Re:React Tutorial: Cloning Yelp by Drdrdrq on Friday May 27, 2016 @05:54PM (#11789317)
And you will be able to use the same python tools for years to come. Good luck with JS frameworks there!