When many people are first learning how to code, they find it difficult and when they ask, "How can I get better at coding?" they are usually told, "With time and practise it will get easier.". But instead of using so much time and effort to get better at coding using hard programming languages, what if coding could get better for you instead of you getting better at coding? Well, this is the reason that inspired me to make a new programming language called Sofya.
Sofya is designed to be so simple (even simpler than Python) so that anyone can find programming easy and fun. But to prove my point, let us use an example. Let us say that we want to make a program that will show us all the numbers from 1 to 20. Let us compare how this program will look like in Python and Sofya.
The Python Program
for number in range(1, 21):
print(number)
The Sofya Program
Variable Number is 0
Do this
{
Increase Variable[Number] by 1
Write Variable[Number] on the screen
}
Until Variable[Number] = 20
From this example, we can see that the Sofya program is easier than the Python program, for a beginner in programming, for the following reasons:
Sofya uses simpler commands than Python: It is easier for a beginner in programming to remember the command
Do this...Until Variable[Number] = 20, which is used for making a loop, as compared to the commandfor number in range(1, 21):.Sofya's syntax is closer to English as compared to Python's syntax: When we are making a loop variable in Sofya, we simply say
Variable Number is 0rather than sayingnumber in range(1, 21)in Python.The Sofya program can easily be understood by anyone even if it is the first time that they are seeing it as compared to Python: A beginner in programming can easily tell that in the line where we say
Increase Variable[Number] by 1, that we are increasing the value of the variable called 'Number' by 1 as compared to the linenumber in range(1, 21)in Python.
If you would like to try out Sofya for yourself or even help me develop Sofya further, you can use this link to take you to the Sofya repository on GitHub: https://github.com/oyweraa-hue/Sofya-Version-1.0.
If you have any questions, feel free to leave it in the comments and I will answer them as soon as I can. Thanks for reading.
Top comments (0)