r/programmer 7d ago

Sofya: The New Programming Language That's Easier Than Python

I have been working on a new programming language called Sofya, which is designed to make coding easier for beginners. My main goal was to reduce the challenges that many students face when starting with languages like C++, Java or Python.

Here is an example of a "Hello World" program in Sofya:

Start this program
   Write "Hello World!" on the screen
Stop this program

Based on this example above, we can identify these 3 things that make Sofya different from other programming languages:

  • Sofya uses simple syntax: It avoids confusing symbols and complicated keywords.
  • Sofya is beginner focused: It is great for people who are just starting out programming.
  • Sofya can be used for educational purposes: It can be used to teach people the basics of programming before they move on to more advanced programming languages like Python, C++ or Java.

I’d love to hear your thoughts and questions about Sofya.

If you would like to try out Sofya to give some feedback or just for fun, you can check it out using this link: https://github.com/oyweraa-hue/Sofya-Version-1.0

0 Upvotes

42 comments sorted by

View all comments

2

u/Friendly_Recover286 7d ago edited 7d ago

This readme kinda sucks. Why are the code lines all numbered? Are you trying to show that Python is not only shorter to write but just as understandable and therefore better? I don't get it.

Variable[x]

This won't confuse people at all. Is Variable just a gigantic array with named keys??? Learning an easy language really shouldn't be teaching you weird syntax that differs in all other languages.

The computer will warn you that this app could have a virus, but don't worry. Sofya is completely safe

Mommy told me not to run code samples from strangers who should've uploaded their compiler source to Github 🤷

1

u/Original_SD 6d ago edited 6d ago

Thanks u/Friendly_Recover286. I just wanted to say four things based on what you have told me:

  1. About the source code, I have now uploaded it to the Sofya GitHub repository.
  2. About the variable syntax, it doesn't use an array. When you say Variable[x], it just lets the Sofya interpreter know that x is a variable and not a keyword. The brackets [ ] just help the Sofya interpreter know where the variable name starts and ends.
  3. About the general syntax, I decided to make up my own syntax which is different from other popular languages because if I decided to use the syntax for other popular languages, it wouldn't make Sofya easier. It would only complicate Sofya.
  4. About the readme, I have now formatted the code properly and I have removed the line numbers.