Cristian Salcescu's Blog, page 17
February 2, 2021
What Can We Learn From John Carmack on Productivity
It was 96 after Quake came out when I first heard about John Carmack. It was impressive to discover that he did all the game engine by…
November 18, 2020
How to Create Objects in JavaScript

Objects are the main unit of encapsulation in Object-Oriented Programming. In this article, I will describe several ways to build objects in JavaScript. Those are:
Object literalObject.create()ClassesObject LiteralFirst, we need to make a distinction between data structures and object-oriented objects. Data structures have public data and no behavior. That means they have no methods.
We can easily create such objects using the object literal syntax. It looks like this:
const product = {name: 'app...
November 16, 2020
Microblog React Project
Build an application using React, Redux, Redux Thunk,
Redux Toolkit, Material UI, and Axios.

This book takes a project-based learning approach by engaging you in building a practical project. The reader will learn things on the way by developing different parts of this application.
Creating this project requires basic JavaScript and React knowledge. For improving your JavaScript skills and functional programming techniques you may consider reading Discover Functional JavaScript and Functional Progr...
November 2, 2020
Microblog React Project

This book takes a project-based learning approach by engaging you in building a practical project. The reader will learn things on the way by developing different parts of this application.
Creating this project requires basic JavaScript and React knowledge. For improving your JavaScript skills and functional programming techniques you may consider reading Discover Functional JavaScript and Functional Programming in JavaScript. For an introduction to React concepts from a functional programming p...
October 30, 2020
How to Render a List with React, GraphQL, and Apollo

In this article, we are going to take a look at how to retrieve and display a list of objects using React Hooks, GraphQL, and Apollo client.
List Function ComponentLet’s start by displaying a list of objects using a React function component.
import React from 'react';function List({posts}) {return (
{posts.map(post =>
{post.title}
)}
);
}export default List;
The List function component takes a list of post objects and displays the title of each post in...
October 1, 2020
How to Render a List with React, GraphQL, and Apollo
In this article, we are going to take a look at how to retrieve and display a list of objects.
September 8, 2020
Vue.js Composition API

The Vue.js Composition API provides a new way of managing reactivity. It is made of a set of Reactive API functions and plus the facility to register lifecycle hooks using imported functions.
In the Vue.js Composition API book, we are taking a look at how to implement this Reactive API from scratch. Then we will implement a master-details functionality.
Chapter 01: Building a Reactive APIWe start our learning journey by first understanding what reactivity is how is implemented in Vue 3. Imagine we...
September 1, 2020
Functional Programming in JavaScript

In Functional Programming in JavaScript, you will find how to use JavaScript as a functional programming language.
It turns out that JavaScript has everything it needs to be used as a functional language. We just have to remove features from the language starting with the ‘this’ keyword.
Functions are values. Functions can operate on other functions.
Inner functions can access variables from the outer functions even after the outer functions have executed.
Functional programming makes code easier to...
August 31, 2020
Functional Architecture with React and Redux

With the Functional Architecture with React and Redux book, you are going to experience the functional programming style by developing several applications with an incremental level of complexity. I encourage you to write all these applications yourself.
Functional programming is a programming paradigm that promotes the use of pure functions and immutable values aiming to make reading and understanding an application easier.
Functional programming is to a large extent about data transformations. T...
June 18, 2020
Engage all your senses when learning
A look at audio, visual and discover by doing learning styles