English
How to choose your first OOP language
Every year my students ask the same question: which elective should I take? Object-oriented programming in C# is mandatory for everyone, so that part is settled. Next to it you choose one more course, and there are five of them:
- OOP in C# (GUI): the follow-up to the mandatory C# course. Windows Forms, WPF, .NET MAUI, async/await, databases, REST, SignalR and AI models;
- OOP in Java: JDK 27 and IntelliJ IDEA, records, generics, collections, the Stream API, JDBC and JavaFX;
- OOP in Kotlin: null safety, data classes, coroutines, databases with Exposed and Compose Multiplatform;
- OOP in Python: Python 3.14 and PyCharm, classes and protocols, pytest, SQLite, NumPy and pandas, PySide6;
- OOP in C++: from the first program to classes, templates, containers, ranges and C++26 modules in Visual Studio 2026.
There is no wrong answer here. Classes, interfaces, inheritance and encapsulation work almost the same way in all five, and your second language is always easier than your first. But the languages do lead to different jobs, so here are the facts I show on the day we choose.
Where each language is used
C# is Microsoft’s language, born in 2000 and now open source on .NET 10. With one language you write Windows desktop apps (Windows Forms, WPF), cross-platform apps (.NET MAUI), web backends (ASP.NET Core) and games (Unity). The GUI course is the natural next step after the mandatory one: you stop writing console programs and build real windows, services and clients.
Java appeared in 1995 and is still the backbone of big companies: banking, insurance, telecom, online shops, the Spring framework, big data with Kafka and Spark. Its promise is stability: code written fifteen years ago still runs on JDK 27.
Kotlin was created by JetBrains (the company behind IntelliJ IDEA) and reached 1.0 in 2016. Since 2019 Google has recommended it as the main language for Android. It runs on the Java virtual machine, so every Java library works with it, and with Compose Multiplatform the same code draws a desktop, Android or iOS user interface.
Python dates from 1991 and is the language of AI, machine learning and data analysis (NumPy, pandas, PyTorch), automation scripts, scientific computing and web backends (Django, FastAPI). It is the language people learn when programming is not their main job, and that is a strength, not a weakness.
C++ (1985, an ISO standard, now C++26) is the language where speed and control matter most: game engines, embedded devices, robotics and drones, browsers, databases, trading systems and drivers. It is the hardest of the five, and it teaches you more than any other about how a computer really works.
A quick comparison
| Language | Speed | How easy it is | Typical use |
|---|---|---|---|
| C# (GUI) | fast (JIT, GC) | ●●●○○ | desktop, web, games |
| Java | fast (JIT, GC) | ●●●○○ | enterprise backends, big data |
| Kotlin | fast (JIT, GC) | ●●●●○ | Android, backends, multiplatform UI |
| Python | slow, fast libraries in C | ●●●●● | AI and data, scripts, backends |
| C++ | fastest, native code | ●○○○○ | games, embedded, systems |
C#, Java and Kotlin are compiled to an intermediate code that a just-in-time (JIT) compiler turns into machine code while the program runs, and a garbage collector (GC) frees memory for you. C++ compiles straight to machine code and leaves memory to you, which makes it the fastest and the most dangerous. Python interprets your code, so a loop in pure Python is tens of times slower, but its numeric libraries are written in C and run at full speed.
Popularity: the TIOBE index
The TIOBE index measures how much a language is talked about on the web: search engines, courses, questions. It is not a measure of quality, but it shows where the world is heading. November 2026:
| Rank | Language | Rating |
|---|---|---|
| 1 | Python | 20.86 % |
| 3 | Java | 8.89 % |
| 4 | C++ | 8.35 % |
| 5 | C# | 3.39 % |
| 33 | Kotlin | 0.44 % |
C is number 2, but it is not on our list. Kotlin’s low position does not mean it is unpopular: it is used mainly for Android, where Kotlin developers rarely search for "Kotlin" alone.
Jobs in Ukraine: DOU vacancies
Open vacancies on jobs.dou.ua on 18 November 2026, by category:
| Category | Vacancies |
|---|---|
| Python | 123 |
| C++ | 87 |
| .NET (C#) | 80 |
| Java | 63 |
| Android | 12 |
| Search «Kotlin» | 8 |
These numbers change every day, so treat them as a snapshot. Two things are worth knowing. Most vacancies are for Middle and Senior developers in any language, and a Junior position is always the hardest one to get. And many C++ vacancies come from defence and embedded companies, which hire more and more in Ukraine.
Salaries: what DOU says
DOU surveys Ukrainian developers twice a year. I took the raw data of the June 2026 survey and calculated the median net monthly income in US dollars for software engineers who live in Ukraine or plan to return, by their main language and level (n is the number of answers):
| Language | Junior | Middle | Senior |
|---|---|---|---|
| C# / .NET | $900 (n = 67) | $2,500 (n = 180) | $4,450 (n = 228) |
| Java | $800 (n = 40) | $2,500 (n = 142) | $4,800 (n = 235) |
| Kotlin | too few answers (n = 5) | $2,800 (n = 51) | $4,650 (n = 95) |
| Python | $1,080 (n = 49) | $2,600 (n = 106) | $5,000 (n = 115) |
| C++ | $1,050 (n = 21) | $2,800 (n = 47) | $4,500 (n = 79) |
The lesson is not "Python pays most". The differences between languages are a few hundred dollars, while the difference between levels is five times. Your level, your English and the problems you can solve matter much more than the language you start with.
The same program in five languages
Here is one small task written five times: a Student class with a name and a list of grades, a computed average, and a list of students sorted from the best average down. Look at how the same ideas, a class, a constructor, a hidden field and a computed value, look in each language.
cs
var students = new List<Student>
{
new("Olena", [90, 85, 100]),
new("Taras", [70, 82, 75]),
new("Iryna", [95, 90, 98]),
};
foreach (var s in students.OrderByDescending(s => s.Average))
Console.WriteLine($"{s.Name,-6} {s.Average:F2}");
class Student(string name, List<int> grades)
{
public string Name { get; } = name;
public double Average => grades.Average();
}java
record Student(String name, List<Integer> grades) {
double average() {
return grades.stream().mapToInt(g -> g).average().orElse(0);
}
}
void main() {
var students = new ArrayList<>(List.of(
new Student("Olena", List.of(90, 85, 100)),
new Student("Taras", List.of(70, 82, 75)),
new Student("Iryna", List.of(95, 90, 98))));
students.sort(Comparator.comparingDouble(Student::average).reversed());
for (var s : students)
IO.println("%-6s %.2f".formatted(s.name(), s.average()));
}kotlin
class Student(val name: String, private val grades: List<Int>) {
val average: Double
get() = grades.average()
}
fun main() {
val students = listOf(
Student("Olena", listOf(90, 85, 100)),
Student("Taras", listOf(70, 82, 75)),
Student("Iryna", listOf(95, 90, 98)),
)
for (s in students.sortedByDescending { it.average })
println("%-6s %.2f".format(s.name, s.average))
}python
class Student:
def __init__(self, name: str, grades: list[int]) -> None:
self.name = name
self._grades = grades
@property
def average(self) -> float:
return sum(self._grades) / len(self._grades)
students = [
Student("Olena", [90, 85, 100]),
Student("Taras", [70, 82, 75]),
Student("Iryna", [95, 90, 98]),
]
for s in sorted(students, key=lambda s: s.average, reverse=True):
print(f"{s.name:<6} {s.average:.2f}")cpp
#include <algorithm>
#include <numeric>
#include <print>
#include <string>
#include <utility>
#include <vector>
class Student {
public:
Student(std::string name, std::vector<int> grades)
: name_(std::move(name)), grades_(std::move(grades)) {}
const std::string& name() const { return name_; }
double average() const {
double sum = std::accumulate(grades_.begin(), grades_.end(), 0.0);
return sum / grades_.size();
}
private:
std::string name_;
std::vector<int> grades_;
};
int main() {
std::vector<Student> students{
{"Olena", {90, 85, 100}},
{"Taras", {70, 82, 75}},
{"Iryna", {95, 90, 98}},
};
std::ranges::sort(students, std::greater{}, &Student::average);
for (const auto& s : students)
std::println("{:<6} {:.2f}", s.name(), s.average());
}All five print the same thing:
text
Iryna 94.33
Olena 91.67
Taras 75.67On a computer with Ukrainian regional settings, C#, Java and Kotlin print 94,33 with a comma: they format numbers by the current culture, while Python and C++ do not unless you ask them to.
What to notice:
- C# and Kotlin are the shortest typed versions: a primary constructor declares the fields, and
Averageis a property computed on every read; - Java uses a
record, a compact class for data, and a stream to compute the average; since JDK 25 a small program needs nopublic static void mainand no imports; - Python has no types at run time (the annotations are only hints) and no
private: the underscore in_gradesis a convention that says "do not touch"; - C++ is the longest: you include headers, choose how strings and vectors are passed (
std::moveavoids a copy), and mark methodsconst. In return, you get the fastest program and full control over memory.
Pros and cons
C# (GUI)
- ➕ One language for desktop, web, mobile and games, with Visual Studio, one of the best IDEs there is.
- ➕ You already know the basics from the mandatory course, so you go deeper instead of starting again.
- ➖ You do not learn a second language this year.
- ➖ Windows Forms and WPF run only on Windows (MAUI and the web fix that).
Java
- ➕ A huge, stable market: banks and large companies around the world rely on it.
- ➕ Very close to C#, so everything you learn transfers in both directions.
- ➖ More verbose than C# or Kotlin.
- ➖ Real jobs need Spring and a lot of infrastructure on top of the language.
Kotlin
- ➕ A modern, concise language with null safety built in.
- ➕ The main language for Android, it runs every Java library, and its developers have high medians in the DOU survey.
- ➖ Few vacancies in Ukraine, and almost all of them are for Android.
- ➖ Junior positions are rare.
Python
- ➕ The easiest syntax and the fastest way from an idea to a working program.
- ➕ The language of AI and data science, the most vacancies and the first place in TIOBE.
- ➖ Slow in pure Python loops, and type errors show up only when the program runs.
- ➖ Weak for desktop and mobile apps, and many beginners compete for Junior positions.
C++
- ➕ The fastest code and full control over memory and hardware.
- ➕ Games, embedded devices, drones and robots, and it teaches you how a computer really works.
- ➖ The hardest language of the five: manual memory, undefined behaviour and long error messages.
- ➖ Slow builds and more complex tools.
Which one is for you
- You want to build desktop applications and grow as a .NET developer → C# (GUI).
- You see yourself in a big company, writing backends for banks or online shops → Java.
- You want to make Android apps, or try one codebase for desktop and mobile → Kotlin.
- AI, data analysis, automation, or you want the gentlest start → Python.
- Games, robots, drones, embedded devices, or you simply want to understand how things work underneath → C++.
If you still cannot decide, pick the language of the field that excites you most, not the one with the highest salary today. The market changes every year; a student who enjoys the work gets good at it, and good developers find work in any language.
🎓 The slides I use to present the electives are online: Choose your OOP language. Have a look before we meet, and come with your questions.