Introduction to Python Data Types

July 29, 2017 by
Part 3 of 5 in the Python for Beginners series

So far, we have only been dealing with printing out and storing text. In Python, text is of the type str, short for string. In addition to text, Python supports several other data types such as bool, int, and float. The bool data type — short for boolean — is exactly like a light bulb,… read more

Working with Variables in Python

July 29, 2017 by
Part 2 of 5 in the Python for Beginners series

So far, we have only been telling Python explicitly what to print. When you code applications, games — or whatever the case might be — you need to have the ability to store and work with different types of data. We do so by using variables. Consider the following, for example. greeting = “Hello World!”… read more

Installing Python & Hello World

July 29, 2017 by
Part 1 of 5 in the Python for Beginners series

Welcome to this tutorial on Python! Whether you are a developer who just haven’t learned Python yet, or if you are completely new to programming, this tutorial is for you! We start at the absolute beginning, so if you are already familiar with programming, then you will find that this Python tutorial starts out pretty… read more

Vue.js: Why Components’ Data Properties Must Be Functions

May 2, 2017 by
Part 52 of 55 in the Vue.js: From Beginner to Professional series

I previously mentioned that with components, the data property must be a function and not an object as we are used to. I have opened up an example of a component which contains a button. <div id="app"> <counter></counter> </div> Vue.component(‘counter’, { template: ` <div> <button @click="counter++">{{ counter }}</button> </div> ` }); new Vue({ el: ‘#app’… read more

Building Vue.js Applications for Production

April 29, 2017 by
Part 50 of 55 in the Vue.js: From Beginner to Professional series

In this short post, I want to show you how to build the project for production. This involves hiding any development messages and warnings, and also minifying JavaScript. To make a build, simply run the below command, which is defined within the package.json file. npm run build When doing so, a production build of your… read more