You are viewing a single comment's thread from:

RE: Python for STEEM ... anybody ?

in #busy5 years ago

But why do you choose one or the other language?

Preference.

If you want to learn the alphabet, it doesn't matter what letter you start with.

The main reason for using javascript would be that it runs client-side in a browser and almost everybody in the world has a browser. I am using Python because it is usually shorter and simpler, but the underlying concepts are the same across all languages, and especially here; The STEEM blockchain has a very limited set of operations and calls. With Python it is easier to read the source code (later chapter) to understand how the 'raw' API calls work.

Sort:  

If you want to learn the alphabet, it doesn't matter which letter you start with.

Ok, you are joking.... because there are many different alphabets. But maybe I understood it right anyway. When I use Python, I use this programming only on my own computer, for my own purposes. For example, if I need a special Steem statistic. If I want to run a program on client browsers, like a Steem-Condenser, I have to use Javascript.

Or can I install Python on the web server, run all Steem queries on it and then handle the output in the client HTML? Does that make sense? Does this make anything easier?

Translated with www.DeepL.com/Translator

There are frameworks for Python, too.
They would have to run on your webserver, like you wrote.

With JS you can let the user's computer do the work for you - they only download the script.

Hmmmmmm.... JS... Python... First I need Javascript, for the condenser. You don't know Javascript, I guess. We have already written about it. An endless circle.....
But I will remember @felixxx and Python. When it comes to that. What I have installed on the webserver I don't know anymore. I can't see through it for a long time.

I started steessenger, which is pure JS.
But I know very little about webdesign and html - so JS is not that useful to me.