My Blog

Here you can find my private notes about programming that I wanted to share with you. Feel free to filter based on the topic you want or search for something specific.

    Split the words out of a string and reverse their order with JavaScript

    You want to achieve the following tasks with JavaScript:

    Let’s see how you can split a string based on its words. There are two simple options.

    Read the complete article

    The this keyword in JavaScript - Must Know JavaScript features every programmer should learn to master the language

    The previous days I had a great conversation about the fundamentals of JavaScript, scope, closure, etc.. The this keyword was also a discussion point. I wasn’t 100% sure of the rules that apply to this and I wanted to refresh my memory about the possible ways to use the keyword and for each case identify the owner of this when a function is invoked.

    The four, and only four rules about this

    Read the complete article

    Hints and tips for better programming with the React Native framework

    Based on my current experience with the React Native framework, I would like to share with you some hints and tips that will improve your skills in the way you develop with the framework.

    Isolate the business logic of your application from the UI/ components code

    This is probably the most valuable information someone should have in her mind when developing with React Native. React Native tries to be as platform independent as possible, however, there will be cases, that you will have to write different JavaScript code for iOS and different code for Android.

    Read the complete article

    A small guide on how to run your React Native app on iOS using the XCode Simulator

    You decided to create a new application for iOS and you want to program the app with the React Native framework.

    Here is a list with all the steps you have to take if you want to start XCode Simulator and test the UI of your application on your developer machine:

    Read the complete article

    Variable Scope - Must Know JavaScript features every programmer should learn to master the language

    JavaScript is a small language, however, as any other technology one should invest some time in learning the fundamentals of it, so that she has a solid knowledge when writing code or architecting web applications.

    With the Must Know JavaScript features articles I try to give you a starting point for your further familiarization with the most important features of the language. You are going to use these features extensively as a JavaScript engineer, directly or indirectly.

    Let’s talk about scope

    In general, the scope in a programming language affects the visibility of fields/ properties in a class/ module or of the arguments passed or the variables declared inside a function. There are two main categories of scope in the modern languages:

    Read the complete article