Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter
to the top

Webinar: Let's make a programming language. Lexer - 29.04

>
>
Posts: #Knowledge

Posts: # Knowledge

17 Jui 2024
How template method can ruin your Java code
Konstantin Volohovsky
OOP is wonderful. Programmers usually criticize those who don't follow this paradigm, while the knowledge of patterns is often a must. However, even the right approach doesn't completely protect...
...
07 Jui 2024
C++ programmer's guide to undefined behavior: part 1 of 11
Andrey Karpov, Dmitry Sviridkin
Your attention is invited to the first part of an e-book on undefined behavior. This is not a textbook, as it's intended for those who are already familiar with C++ programming. It's a kind of...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
05 Jui 2024
Volatile, DCL, and synchronization pitfalls in Java
Konstantin Volohovsky
What if common knowledge is actually more nuanced, and old familiar things like Double-checked locking are quite controversial? Examining the code of real projects gives this kind of thought. In...
...
23 Mai 2024
C++: freeing resources in destructors using helper functions
Andrey Karpov
In this article, we'll look at how to correctly destroy objects in the OOP-based C++ program without redundant operations. This is the final article in the series about the bugs in...
...
05 Avr 2024
How not to check array size in C++
Mikhail Gelvikh
How often do you see the sizeof(array)/sizeof(array[0]) statement used to get the size of an array? I really hope it's not too often, because it's 2024 already. In this note, we'll talk about...
...
OOP in real-life cases
Konstantin Volohovsky
In most cases, you can solve a task in an intuitive, procedural way. However, the simplest option isn't always the best. I invite you to take a look at a real-world example of transforming a...
...
06 Fév 2024
Doit-on vérifier le pointeur pour NULL avant d'appeler la fonction free ?
Andrey Karpov
La réponse brève est non. Cependant, cette question apparaît régulièrement sur Reddit, Stack Overflow et d'autres sites web, il est temps d'aborder le sujet. Il y a beaucoup de choses prenantes...
...
20 Oct 2023
What's new in C# 12: overview
Konstantin Volohovsky
It's mid-fall which means a new version of C# is coming soon. It's time to find out what updates will soon appear in the language. Although C#12 has fewer features than previous versions, it...
...
25 Aoû 2023
Common patterns of typos in programming
Andrey Karpov
The developers have an endless amount of ways to make mistakes while writing code. However, sometimes we can find obvious and interesting patterns in how and where developers make mistakes...
...
30 Mai 2023
60 terrible tips for a C++ developer
Andrey Karpov
In this article, you're going to find 60 terrible coding tips — and explanations of why they are terrible. It's a fun and serious piece at the same time. No matter how terrible these tips look...
...
View more Pagination arrow previous
Showing: - of 164