Barbarian Meets Coding
barbarianmeetscoding

WebDev, UX & a Pinch of Fantasy

personalbest-ofblogging

The Best Of Barbarian Meets Coding 2015

OMG… Another year has just gone by! Can you believe it?! Here are the best articles of barbarian meets coding this year:

Top 10 Articles 2015

The top 10 articles that I wrote this year

  1. How I Passed the 70-480 Certification Exam
  2. Barbarian Meets Coding Wiki: The 70-483 ASP.NET MVC Certification
  3. An Introduction to Object Oriented Programming in JavaScript for C# Developers
  4. A Brief Update on Angular 2
  5. Mastering the Arcane Art of JavaScript-Mancy for C# Developers - Chapter 1 - The Many JavaScript Quirks
  6. Why I Write Unit Tests and Why You Should Too
  7. Barbarian Meets Aurelia: First Contact and Building Athena
  8. Mastering the Arcane Art of JavaScript-mancy for C# Developers - Chapter 7 - Using LINQ in JavaScript
  9. Barbaric Basics - Web Workers
  10. Mastering the Arcane Art Of JavaScript-Mancy for C# Developers - Chapter 2 - The Basics of JavaScript Functions

Top 10 Most Read Articles 2015

The most read articles during 2015

  1. Barbarian Meets Knockout: Knockout.js Observable Arrays
  2. Object Oriented JavaScript for C# Developers
  3. How I Passed the 70-480 Certification Exam
  4. Barbarian Meets Coding Wiki: The 70-486 ASP.NET MVC Certification
  5. Barbarian Meets Knockout: Knockout.js Computed Observables
  6. An Introduction to Object Oriented Programming in JavaScript for C# Developers
  7. Write 30% Less Test Code With AutoFixture
  8. A Brief Update on Angular 2
  9. Mastering the Arcane Art of JavaScript-Mancy for C# Developers - Chapter 1 - The Many JavaScript Quirks
  10. Barbarian Meets Knockout: Knockout.js Observables

My Top 5 Favorites 2015

The articles I enjoyed writing the most this year

  1. Black Tower Summoning: JavaScript Object Composition with Mixins
  2. An Introduction to Object-Oriented Programming in JavaScript for C# Developers
  3. Mastering the Arcane Art of JavaScript-mancy for C# Developers: On Summoning Servants and Critters or The Basics of Objects
  4. Mastering the Arcane Art of JavaScript-mancy for C# Developers: Enumerables, Iterables, Iterators and Generators
  5. Mastering the Arcane Art of JavaScript-mancy for C# Developers: ES6 Arrow Functions

Hope you have had a great year! Merry Christmas and a Happy New Year!!

Black Tower Summoning: Object Composition With Mixins

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 the previous articles of this series you have dived into Object Oriented Programming in JavaScript. You’ve learned about object initializers, factory functions, about constructor functions, prototypical inheritance, polymorphism, how to mimick C# classes with ES5 and even about ES6 classes.

So far we’ve kept ourselves very close to techniques and concepts that you are accustomed to in C# so as to make you a comfortable inhabitant of the world of JavaScript. So! Now that you are almost a mighty JavaScript-mancer we’re going to let go of C# for a little while and embrace the dynamic nature of JavaScript. Welcome to a world of flexibility and freedom! The realm of object composition!

This time by the hand of Mixins.

Read on →

White Tower Summoning Enhanced: The Marvels of ES6 Classes

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 the last article you learned how to implement classes in JavaScript without relying in ES6 classes which puts you in a prime position to learn ES6 classes:

  1. Now you have a deep understanding about the underlying implementation of ES6 classes which are just syntactic sugar over constructor functions and prototypes. This will not only help you understand how ES6 classes work but also how they relate to the rest of JavaScript.
  2. You appreciated how you needed to write a lot of boilerplate code to achieve the equivalent of both classes and classical inheritance. With this context the value proposition of ES6 classes becomes very clear as they bring a much nicer syntax and developer experience to using classes and classical inheritance in JavaScript.

In any case, ES6 classes are great for developers that are coming to JavaScript from a static typed language like C# because they offer a perfect entry point into the language. You can start using classes just like you’d do in C#, and little by little learn more about the specific capabilities of JavaScript.

Behold! ES6 classes!

Read on →
dev-talk-mondayprogrammingdev

Dev Talk Wednesday: Be More Productive With Visual Studio Code With These Coding Quick Tips Series

Dev Talk Monday is the series that brings you awesome dev talks every Monday… or Wednesday XD

This dev talk wednesday goodness is dedicated to making you more productive with Visual Studio Code! Andreas Wänqvist has started a new series of short videos devoted to just that:

Makes you want to get started using Visual Studio Code, doesn’t it?

He has another great video about how to get started with Visual Studio Code and ASP.NET 5, go check it out! You can follow his excellent articles about TypeScript at his blog and on the twitterverse.

I also hear there are more videos on the way… :)

White Tower Summoning: Mimicking C# Classical Inheritance in JavaScript

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 this article we are going to take a deep-dive into how to emulate classical inheritance in JavaScript and get to the nearest equivalent to what you are accustomed to in C#. We will focus in the alternatives we had prior to ES6 classes so that you can work with classes even if you are stuck in ES5 and so that you can understand the underlying implementation of ES6 classes which are just syntactic sugar over the JavaScript prototypical inheritance model.

Read on →