Crypto Zombies ,Ch7 Function Declarations, Solidity Programming Language

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=tqEmZRbtZfs



Duration: 2:41
315 views
6


In this Crypto Zomie lesson we go over function declarations in solidity. The Solidity programming language allows us to declare functions with the function keyword first then the name of our function. Right after our named function we add parentheses and within those parentheses we add our parameters which is data we can provide to the function so the function can do "something" with it, usually... In this specific lesson we create a createZombie function which will create our Zombie army. We provide a place for a _name parameter which will take a string and a _dna parameter which will take a uint. We also learn it is convention but not necessary to begin parameter variables with an underscore to tell the difference between them and global variables.




Other Videos By We Will Code


2018-04-28Crypto Zombies Lesson 1, Ch13 Events, Solidity Events
2018-04-27Codecademy Learn Java, For Each Loop, Programming in 2018
2018-04-26Conceptos Basicos de HTML, Imagenes y Enlaces, Aprende,
2018-04-25Codecademy Learn Java, Iterating over an ArrayList
2018-04-24Crypto Zombies Lesson 1 ,Ch12 Putting It Together, Solidity Tutorial
2018-04-23Codecademy Learn Java, ArrayList Insertion, Data Structures
2018-04-23Crypto Zombies Lesson 1 ,Ch11 Keccak256 and Typecasting, Solidity Programming
2018-04-22Crypto Zombies Lesson 1 ,Ch10 More on Functions, Solidity Pure Vs View Function
2018-04-22Crypto Zombies Lesson 1 ,Ch9 Private Public Functions
2018-04-22Crypto Zombies Lesson 1 ,Ch8 Working With Structs and Arrays
2018-04-22Crypto Zombies ,Ch7 Function Declarations, Solidity Programming Language
2018-04-21Crypto Zombies ,Ch6 Arrays, Arrays in Solidity, Fixed Array, Dynamic Array
2018-04-21Crypto Zombies ,Ch5 Structs,Learn Solidity Structures
2018-04-20Crypto Zombies ,Ch4 Math Operations, Learn Solidity 2018
2018-04-20Crypto Zombies ,Ch3 State Variables & Integers, Declare & Initialize Solidity Variable
2018-04-19Crypto Zombies ,Ch2 Contracts,Learn Ethereum Blockchain
2018-04-19Crypto Zombies ,Ch1 Lesson Overview,Learn Ethereum Blockchain
2018-04-19Introduction to Crypto Zombies,Learn To Write Smart Contract, Learn Ethereum
2018-04-18Codecademy Learn Java, ArrayList Access, Data Structures
2018-04-16Codecademy Learn Java, ArrayList Manipulation, Data Structures
2018-04-14Codecademy Learn Java, ArrayList, Data Structures



Tags:
blockchain development
contract tutorial
learn ethereum
solidity programming language