Learning

HTML5 Canvas. Fundamentals

Introduction Today I met HTML5 Canvas. Not in real world - but during one the exercises from Javascript30. What are those “canvas”? Basics Canvas is a HTML element used to draw graphics on fly via Javascript - [0]. Main idea is that you have this rectangle box on the page without any content and you use javascript to draw stuff on it. You do drawing by interacting with context object not the actual canvas object.
Read more

Vanilla Javascript challenge

Challenge Today while reading dev news I came across a 30 days Vanilla JS challenge. Idea is simple - there are 30 “tasks” you need to complete. The catch? You cannot use any libraries, compilers (lodash, jquery, react, typescript, angular..). In other words - we can only use vanilla js. In my humble opinion this a great way to practice javascript. We are using tons of libraries, precompilers, postcompilers .
Read more

Let's code: Learning Haskell #1

Introduction Last week has been very immutable for me. I was looking into redux, Elm, React - just the ideas and trying to implement something similar for Angular. For few years I have had a keen interest into functional programming and considered myself a good in the field. You know - using higher order functions, understand why null is evil - so code produced by me was “fairly” functional. Avoiding state, writing functions as pure as possible.
Read more

Quick glimpse at world of Elm

Intro Recently I have came across a thing called Elm. It is a functional programming language dedicated to frontend. About language itself Functional language You will not have to worry about state mutations No runtime errors. I’ll just leave that here Friendly and helpful community. Go to slack, try talking - not only you will get your answers - but community will make you feel part of it Simplicity.
Read more