Author

Topic: Solidity| The Best Programming Language. (Read 160 times)

member
Activity: 532
Merit: 36
There is gold in volatility..
April 19, 2020, 01:35:05 AM
#1
My current topic in my course is solidity programming language.
What we need to learn from this technology is beyond what is contained in this course.

Here is an excerpt from this particular topic.



Quote
One of the most popular Blockchain programming languages right now is called Solidity. It has been created by Vitalik Buterin, the primary author of Ethereum. Solidity is used for making smart contracts. Let’s remember, the smart contract is a code which defines the rules for all participants, controls and penalizes for breach of obligations.

The most practical and popular usage of Solidity nowadays is the development of dApps (decentralized applications). 

Here is the list of areas for solutions available at the dApp market right now:

Games

Exchanges

Collectibles (something like rare and unique baseball cards but on Blockchain)

Casinos

Video streaming

Trading signals

etc.

I believe the scope of possible application is way more huge. We just need some time to adapt the technology and build awesome products. And we are writing this guide today exactly for this purpose. I guess every person could benefit from Blockchain technology especially if he/she understands the basics. Who knows, maybe YOU are the person who will make a revolution of the Internet.

So, let’s move on to Solidity coding principles.

 Our first smart contract

Let’s make a code in Solidity. Have a look at the finished version: 

pragma solidity ^0.4.17; contract Whatsup {     string public message;     function Whatsup (string firstMessage) public {         message = firstMessage;     }     function setMessage(string newMessage) public {         message = newMessage;     }     function getMessage() public view returns (string) {         return = message;     } }

At first sight, it looks a bit confusing...
And what does this code do?

It allows anyone to write a text message to the Blockchain. Then anyone can write another message and the program will update (replace) the first message by the second message. All these actions will be saved at our Blockchain forever. 

I want the forum to discuss by sharing their opinions on the   following areas:

1.What does the Constructor Function help to achieve in programming with solidity?

2.Aside from solidity, what other programming languages can help to develop smart contract which will be integrated on blockchain?

3. In what ways can we compare Python, Java and other programming languages to solidity ?

Here is one of the link I have lookee up to get more insight on this subject.
https://en.m.wikipedia.org/wiki/Solidity
Jump to: