4 ms·
I have no problem with the article or its goals, but my issue is why is so much configuration even necessary for a "large" frontend JS application? Why don't w
by Cyph0n 10y ago
I have no problem with the article or its goals, but my issue is why is so much configuration even necessary for a "large" frontend JS application?
Why don't we see this kind of configuration hell in other major languages? Look at Python, or Scala, or Go, or even Rust. Do you see projects requiring 10 dependencies just to setup a testing environment? Or having to manually integrate every piece of the build process instead of using pre-made plugins?
We don't even have to talk about the extremely low average lifetime of libraries in the JS world; it's like a perpetual popularity contest!
- JustSomeNobody 10y ago> We don't even have to talk about the extremely low average lifetime of libraries in the JS world; it's like a perpetual popularity contest! This is the awful truth of programming in general today. Sadly, it's a train not many of us can jump off of because of employ-ability. If popular tool/framework/language/etc is not on your resume, you're not getting called back. If popular tool/framework/language/etc is not being used by anything in your Github, you're not getting called back.
- Cyph0n 10y agoDefinitely true in general, but I think it's more noticeable in the JS world. Look at Java + Spring, C# + ASP.NET, Python + Django, Ruby + Rails: these are all examples of popular frameworks that have been around for much longer than any single JS library (except jQuery), and are all still in high demand.
- tracker1 10y agoI believe ASP.Net and Spring predate jQuery.
- cloudjacker 10y agoThis is primarily a JS thing. Many nontechnical people that look over your resume don't know that Node Backbone React Angular and the random data visualization libraries are all "Javascript"
- zxcvcxz 10y agoWhat 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"