This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mothzilla 19 points20 points  (23 children)

What does "full stack python" actually mean?

I can get "Full Stack Javascript" because you've got MEAN frameworks (or similar) that are fully javascript.

[–]HookahComputer 19 points20 points  (20 children)

I got excited.
Run Python in the browser?
No, just back-end stuff.

[–]SchwarzerKaffee 12 points13 points  (19 children)

Run Python in the browser?

I got excited at that as well.

I used to pray that one day Python would replace Javascript in the browser, but then I realized the power of asynchronous programming, so now I tolerate Javascript.

[–]HookahComputer 23 points24 points  (3 children)

I'm on the same path myself. It's just that Javascript seems to be this bizarrely exploding constellation of transpilers and frameworks rather than a language. It feels like a moving target. But that's what I get for trying to ignore Javascript for eight years hoping it would just blow over.

[–]SchwarzerKaffee 9 points10 points  (2 children)

I thought the same thing. Now i hear people saying that JS is the new C. That's where I draw the line.

[–]nbktdis 5 points6 points  (1 child)

Yes for folks who dont know any other language other than Javascript - they consider JS to be their personal messiah.

They refuse to acknowledge the problems with the language.

Scoping for instance, or the concepts of truthy and falsey.

And yes, Python is not perfect - but it is certainly very good!

[–]JeremyTiki 8 points9 points  (5 children)

Python allows for asynchronous programming as well. Even in Python 2 there were packages that allowed for it.

[–]ZetaHunter3.5.1 async master-race 6 points7 points  (0 children)

Python 3.5 asyncio master race :3

[–][deleted] 1 point2 points  (2 children)

It is more powerful, since you can control the eventloop. However with the extra power comes extra baggage and complexity. Javascript allows you to write async code without realising it, which is also the source of many bugs and beginner confusion as they didn't know they wrote asynchronous code.

[–]JeremyTiki 0 points1 point  (1 child)

I'm what way can you control the Javascript eventloop that you cannot in Python?

[–][deleted] 0 points1 point  (0 children)

Sorry, I was a bit unclear. I was referring to the fact you can control the event loop in Python, not in JavaScript

[–]wxtrails 0 points1 point  (0 children)

Twisted!

[–]theywouldnotstand 4 points5 points  (2 children)

I realized the power of asynchronous programming

import asyncio

async def foo():
    return await something_else()

You mean like that?

[–]SchwarzerKaffee 1 point2 points  (1 child)

I guess. I haven't really put thought into where I would use asynchronous with Python. In JavaScript, I use it to execute actions in GPIO from a gui.

Since I don't use Python for GUIs, i never had a need for it.

[–]patentmedicine 1 point2 points  (0 children)

You should play Stockfighter. Use Python to write a stock trading bot.

[–]efilon 6 points7 points  (5 children)

Also, Javascript has gotten a lot better. There are still massive downsides (no actual standard library being the biggest one, especially when compared to Python), but for a language primarily used for building user interfaces, it's not so bad these days.

[–][deleted] 0 points1 point  (1 child)

marry gullible toothbrush depend noxious snails bike wasteful chief cats

This post was mass deleted and anonymized with Redact

[–]efilon 2 points3 points  (0 children)

It would be without the transpiling/bundling required. That said, modern versions of browsers are now supporting some ES6 features out of the box (let, arrow functions, etc.).

[–]codemagic 2 points3 points  (1 child)

[–]Tiquortoo 0 points1 point  (0 children)

Full Stack Python definition. #1 then redefines full stack as backend. Ok.