Barbarian Meets Coding Titlebarbarianmeetscoding

WebDev, UX & a Pinch of Fantasy

20 minutes readoop

Summoning Fundamentals: A Three Part Introduction To OOP in JavaScript - Encapsulation

The Mastering the Arcane Art of JavaScript-mancy series are my humble attempt at bringing my love for JavaScript to all other C# developers that haven’t yet discovered how awesome this language and its whole ecosystem are. These articles are excerpts of the super duper awesome JavaScript-Mancy book a compendium of all things JavaScript for C# developers.

In An Introduction to Object Oriented Programming in JavaScript for C# Developers I gave you a ten thousand feet introduction to object oriented programming in JavaScript. Now it is time to get into the nitty-gritty! We will start with a three part introduction to the pillars of Object Oriented Programming applied to JavaScript: encapsulation, inheritance and polymorphism.

Read on →
1 minute readjavascript

Learn How to Build Web Apps With React JS and Flux with this Great Udemy Course

If you haven’t heard about React.js during the past year you must’ve been living in a cave, dungeon or other underground and isolated dwelling because it’s taking the web development world by storm.

React is a rich web application library created by facebook that lets you build highly interactive and performant UIs. It uses new and interesting approaches to front-end development such as a Virtual DOM and an unidirectional data flow (Flux). These ideas have spawned a very active following interested in bringing functional programming concepts to building web applications and new possibilities for developing native mobile apps in JavaScript with ReactNative.

React.js logo

Are you interested in learning ReactJS and bringing your front-end development skills to the next level? Then take a look at this Udemy course on How to Build Web Apps with ReactJS and Flux. I have started watching it myself and Stephen Grinder does a great job of explaining the core concepts of React.js and Flux in a very clear, straightforward and fun fashion.

As it happens I have 50 free coupons to give away that will provide you with free access to the whole course, Cool right!? Just go to the course page, click on Take this course, then on redeem a coupon, type barbarianmeetscoding and you’ll get instant free access. Be quick, I’ll suspect the coupons will fly pretty fast. :)

And do me a favor! Spread the word! Retweet and tell me what you think about the course! And do have a very nice weekend.

19 minutes readoop

An Introduction to Object Oriented Programming in JavaScript for C# Developers

The Mastering the Arcane Art of JavaScript-mancy series are my humble attempt at bringing my love for JavaScript to all other C# developers that haven’t yet discovered how awesome this language and its whole ecosystem are. These articles are excerpts of the super duper awesome JavaScript-Mancy book a compendium of all things JavaScript for C# developers.

JavaScript OOP story is pretty special. When I started working seriously with JavaScript some years ago, one of my first concerns as a C# developer coming to JavaScript was to find out how to write a class. I had a lot of prowess in C# and I wanted to bring all that knowledge and ability into the world of JavaScript, so my first approach was to try to map every C# concept into JavaScript. I saw classes, which are such a core construct in C# and which were such an important part of my programming style at the time, as my secret passage to being proficient in JavaScript.

Well, it took me a long while to understand how to mimic classical inheritance in JavaScript but it was time well spent because along the way I learnt a lot about JavaScript and about the many different ways in which it supports object-oriented programming. This quest helped me look beyond classical inheritance into other OOP styles more adequate to JavaScript where flexibility and expressiveness reign supreme over the strict and fixed taxonomies of classes.

In this series of articles about JavaScript OOP I will attempt to bring you with me through the same journey that I experienced. We will start with how to achieve classical inheritance in JavaScript, so you can get a basic level of proficiency by translating your C# skills into JavaScript and then we will move beyond that into new patterns that truly leverage JavaScript as a language and which will blow your mind.

Read on →