Should you learn Solidity or Vyper for Ethereum smart contracts?

Hello this is Julien and in this video
I’m going to explain you whether you should learn Vyper of Solidity for Ethereum
smart contracts. So Solidity is really the standard on Ethereum. Most
developers know this programming language. Most companies need a developer
with Solidity skills. And most developer tools are designed for Solidity first.
For example Truffle was first designed for Solidity, OpenZeppelin, the framework for smart contracts is also written in Solidity. So by choosing Solidity
really I would say that you make your life easier and it’s just going to be
much more compatible with with everything.
However they are some problems with Solidity. For example the syntax sometime
is not really clear also it’s not very easy to audit the smart contract to make
sure that it’s safe. So that’s why there are some programmers who decided to
create an alternative smart contract language called Vyper. So the design
objective of Vyper is first simplicity. So its syntax is like Python.
And it’s actually easier to read some Vyper code compared to Solidity. And second is
also easier to audit a Vyper smart contract. So that’s very important
for security. So this is for the positive aspects but there are also some negative
aspects so for example in Vyper the language is still a bit primitive
compared to Solidity for example you don’t have dynamic arrays, so it’s a
little bit difficult to work around this Also we don’t have inline assembly so
you cannot really do very low-level stuff…and also you don’t have modifiers
for your smart contract and there are like a few features that are missing in
Vyper and the reason they’re not present is because the creator of vyper thought
that these features were a way for programmers to to take some risks so
they wanted to eliminate this. But there are also for me the two most
important disadvantages of Vyper are 1. most of the development tools in the
Ethereum community they are not compatible with a Vyper so for example
you don’t have an equivalent of OpenZeppelin written in a Vyper.
So that means that many times you will have to re-implement some smart
contract of OpenZeppelin but in Vyper but by doing so your smart contract will
probably be less secure than the audited Solidity code of OpenZeppelin and that
kind of defeat the purpose of…of having a better security for Vyper to
begin with. And second another problem I see is that you have many companies that
actually don’t need Vyper skills so as a developer if you wanna find a blockchain
job it’s gonna be a little bit more difficult to monetize your skills in the
Vyper as opposed to Solidity. Also for Windows users Vyper is not so easy to
install on Windows. Windows is definitely a second class citizen for Vyper.
And a large part of blockchain developer are still using Windows, so not really a
really good for these guys. So I would say my advice is first you
need to learn Solidity if you are new to Ethereum and smart contract and only
after you can start to learn Vyper for fun if you want. But I don’t really
recommend you to write production smart contract in Vyper is still and sort of
alternative to Solidity but that’s not really the most easy to use the most
compatible. By the way if you are interested in Solidity I have prepared a short
email course of five emails where I give you my
tips for Solidity so if you want to put your hand on that all you have to do is
to follow the link in the description and I’ll send you this I hope that this
video was useful for choosing whether you should learn … Solidity or Vyper. If
you have any question then post them down below in the comment and thanks for
watching and see you for the next video bye bye

1 thought on “Should you learn Solidity or Vyper for Ethereum smart contracts?”

Leave a Reply

Your email address will not be published. Required fields are marked *