In software development, working with strings is a common problem. We often read, process, and write text files, perform logging on the activities of a system, or analyze user input. Learning how to perform string operations is essential in any […]
This is another episode of the JavaScript for Beginners series. In the first post, you have learned how to write basic JavaScript code. In this article, you will find out how to use JavaScript with HTML and CSS. The goal […]
In this article, you will learn about higher order functions. An important cornerstone of functional programming is higher order functions. If you want to write programs in mostly functional style, it is inevitable that you master the basics of higher […]
As I promised in my last article on JavaScript fundamentals, you can expect some beginner-friendly content on this blog along with some learning paths. I strongly believe in practical application. Therefore, I will not bore you with facts, long theory, […]
If you have read most of the blog posts of zsoltnagy.eu, you can conclude that most of the articles require at least some basic knowledge about JavaScript. The main exception is the JavaScript Basics category. This article is in the […]
It is very easy to experiment with JavaScript regular expressions, as JavaScript is accessible in all browsers. I will use the Chrome Developer Tools to execute regular expressions. The > symbol denotes an input. The return value and console logs […]
Many JavaScript developers only use the console.log statement for the purpose of finding out more about how their application works. In this article, you will learn that the console API contains many powerful methods that will significantly improve your logging […]
Should I write comments in my code? Should I avoid them at all costs? Should I use them sparingly? When developing software, all developers have their view on how and when to use comments. This article will reflect my opinion, […]
A higher order function is a function whose argument list or return value includes a function. Knowledge about higher order functions is essential when writing programs both in functional and in object oriented style. Why is functional programming good? When […]
JavaScript made its way from being a toy language for simple animations to becoming a language for client side and server side web application development. Some generic concepts also made their way to the JavaScript world and developers become more […]
JavaScript does not give you full access to your data structures in memory. However, reference types still exist in the language. Mixing value and reference types comes with unwanted side-effects and bugs. Understanding the difference between value and reference types […]