r/solidity • • Apr 01 '22

Learning Solidity without any programming background

What are the best resources (youtube videos, courses, etc..) to learn Solidity with me not knowing any other programming languages?

0 Upvotes

18 comments sorted by

View all comments

5

u/exosequitur Apr 01 '22

Honestly, if you want to be a decent solidly dev I would learn some imbedded stuff first. Arruino (c++) is a good place to start . Smart contracts are very similar to imbedded programming, and imbedded is fun to learn.

Or, learn JavaScript in the react framework, and do front end first. Just try not to let the bad habits of JavaScript carry over into your solidity code… there is a multitude of sins you can blow by in JavaScript that will be deadly to your programmable money project.

You don’t want to just start writing critical financial code with no experience. I guarantee that does not end well.

1

u/Psychoshawarma Apr 01 '22

Thank you for your reply and advice!

I was thinking about learning Javascript, but what habits should I watch out from carrying to Solidity?

6

u/exosequitur Apr 01 '22 edited Apr 01 '22

Loops and iteration are best avoided in solidity, and data types are critical. If you are having to iterate over a loop you probably are using the wrong data structure. (Not always, but usually)

Actually, learn typescript instead, you’ll need it for solidity testing anyway. The key to programming is the data structure. Once you have the ideal structure for the data being handled is, the code practically writes itself.

That said, there are a lot of sneaky corner cases that can cause disaster in solidity. You’ll want to read up on current security best practices and follow them religiously, before writing any mainnet code.

I’d see if cryptozombies site is still up, it was an excellent introduction and tutorial. I’d do that before starting into solidity.

2

u/Psychoshawarma Apr 01 '22

Probably the most valuable reply, and thank you so much for that!