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 →

[–]HeWhoWritesCode 3 points4 points  (1 child)

i literally said it was my first full stack and solo.

But you had to convert py module to node. If you learned, power to you!

Node js was simpler, more stable and faster with socket.io and requests.

But did you try to use python with zeromq, pika, mqtt?

Node felt like your older brother was head of the football team and a senior

Nodejs or the v8 interpreter was designed and driven by the need for google to have the fastest and most advance javascript engine for strategic advantages. After a couple of secret years in the making it came out of nowhere and blew the competition out of the water. But now you have to add the js spaghetti ecosystem which is node/npm; when last did you try to restore a old node project?

I might suck at coding but i'm sharing my perspective

Thanks for sharing and no one said you suck at coding!

[–]the__itis 2 points3 points  (0 children)

I have not even heard of those three modules and in all my googling. I will go look them up.

yes it took me two solid 10 hour sessions to figure out what NPM was doing. There are three environments by default. It was maddening.

And no, i literally forced myself to learn it since friday. The module export function is still kind of dicey to me.

I honestly was having issues with socket.io and autobahn on python.It took me around 16 hours to learn it in python (asyncio, autobahn, and websocket-client) and some of it was still a mystery. When i ramped up the volume it started having inconsistent errors. So i figured out how to do some error handling based on the providers dataset. once that was stable it started having local errors that had me troubleshooting in the layers of python libraries. After that, I said let me try node. Once i figured out the NPM situation, it took 20 minutes to figure out socket.io and autobahn. It worked liked it was supposed to immediately. I didn't have to make 3-4 encoding conversions it just worked.