-
Node, Event Emitter, and Inheritance
My understanding of Javascript, and my interactions with the language, have come mostly from a browser perspective. That is true to the point that when I did my Tic Tac Toe game, I decided to keep state (which board cells are marked by who) by assigning css classes to each...
-
Recursion over iteration, a different approach
After some ground definitions in the first chapter of “The Little Schemer”, such as car, cdr, eq?, and others. The second chapter presented the concept of recursion. I decided I will present two of the main functions that I went over to, and break them down to explain the insights...
-
(Scheme (is (quite (crazy))))
A written language is defined (roughly) by some marks, and some meaning behind those marks. In roman alphabet we assign sounds to each character, when we unite letters in specific orders we get a particular sound that is associated (hopefully) with a concept. But not all writing works like that,...
-
Low Level Javascript
As part of my daily Katas, I’ve been recreating several array methods from scratch using TDD. I have a list of methods to work on, I take one, read the documentation, generate a ‘todo list’ of features that the method should have, transform that list into tests, and proceed to...
-
Into The Realm Of Testing
Wait, isn’t Unit Testing the same as TDD? Is TFP a thing? I should write a test before even writing the code I will be testing in the first place? As I incurred into the realm of testing this questions were popping in my mind. I don’t have yet an...
-
The Unexpected Library
Sometimes unexpected things happen. For example, today I planned on reading about TDD and Unit Testing, and later blogging it. Yet, here I am, and -spoiler alert- this isn’t a post about TDD… at least not conceptually. As a mean of practicing Test Driven Development, and familiarize with beautiful array...
-
Deeper into JS
The Kata of today was working with ‘ES6 features’. We worked with Reflect and Array.from, in all honesty, I didn’t make too much of Reflect, in terms that its usefulness didn’t resonate with the kind of work I have done (or imagine for that matter). Array.from on the other hand...
-
You Don't Know NodeJS
I know, its Saturday. But well, this will be short. Have you ever come across the books by ‘Kyle Simpson’ “You Don’t Know Javascript”? Well I thought to myself “You Don’t Know Node”, and that might be a bit problematic, specially if I use JS frequently. Before you frown upon...