• Functional Programming 101; What is a Pure Function?

    In the previous posts we have talked about how apps are data that is presented in a consumable and meaningful way, and how data should be kept immutable when possible. Obviously, if we are going to transform the data, we need a way to do it. That way is functions,...

  • Functional Programming 101. Immutable Data, Arrays

    Last blog post I talked about how an application is just data that is displayed in a meaningful way and that often we can interact with that data through an interface. This is relevant because in one hand we do things with the data (like Creating, Reading, Updating, and Deleting...

  • Functional Programming 101. Immutable Data, Objects

    In an effort to write better code, I’ve been looking into Functional Programming in Javascript. Reader be warned, I’m, not talking about advance stuff (at least for me) like Monads, Functors, or Algebraic Data Types, but much simpler yet powerful practices that I think can favor my code quality, like...

  • Tennis refactoring, the tale of a kata

    As I previously stated, refactoring is the art of changing existing -working- code, and make it better without altering its external behaviors. As a Kata yesterday, Preetham and I worked on this source code, that is basically an app to keep track of tennis scores, but is written purposely bad...

  • Refactoring and adding new features

    looks like this, but with more bits and less ink The theme for the week, as decided with my fellow apprentice Preetham was on the topic of refactoring. What is refactoring? As a short and sweet answer I would say that is changing and improving working code, but without changing...

  • Todo app revisited

    I’m building a todo list. Yes, might sound boring, since is the “hello world” of apps, but for me it has been an excellent learning experience. In my crusade of learning Node, handling file system is an unavoidable thing, so I needed an excuse to do just that, because I...

  • Code Retreat, focus on the process

    Saturday morning started with my computer plugged on and surrounded by a plethora of new faces. We were there to write some code, but unlike most times, in this ocation we didn’t program in order to finish a project, we were coding to focus in coding itself. Rules were simple:...

  • A Bucket of Cold Water

    Have you ever received a bucket of cold water? It might not have been very pleasant. It’s an overwhelming experience that takes all of your attention, is uncomfortable, and you stand there paralyzed. Well, I had one off those days. During our kata we tried to tackle a problem that...