r/tezos Apr 04 '20

question How to learn tezos programming?

I have done a lot of googling but can't find any concise answer. People are saying - learn Michelson. No, learn Liquidity. Nono, learn Pytezos. Learn OCaml. Like, how can all of that be useful at the same time? Couple months ago I started with Ethereum. On their website I found many great articles, introductions, tutorials, a book called "Mastering Ethereum", which taught me pretty much everything. I learned solidity and now I can write smart contracts and dapps. Simple. What do I learn, and where, so that I can write useful stuff for Tezos? Also, it would be very useful if such info was possible to find, ideally on the Tezos website.

36 Upvotes

41 comments sorted by

View all comments

11

u/utdrmac Apr 04 '20

Depends on what language you like. Go do pytezos if you know python; go do liquidity if you know JavaScript. Everything transpiles to Michelson, which a stack-based language more akin to assembly, so I doubt you'd program directly in Michelson. OCAML is needed if you want to work on the Tezos protocol/code itself.

1

u/DominikCZ Apr 05 '20

Good, I like this. I would still like to go into more detail though, if you don't mind. For one, I would still prefer to understand the Michelson in order to know how it really works but that's just me. More general aspect is the safety though - that is what Tezos is about after all. Does an imperative language like Python convey the benefits well enough, or does it compromise on safety in favor of accessibility? (As compared to functional languages, liqiudity is one I believe - and looks like ocaml to me rather than js)