My Experience with First Day of JavaScript30

What happened when I tried to follow the first lesson in JavaScript30

2 minute read

It’s nice weather today, so I decided to give JS another chance. For thoes who don’t know yet(really, if you want to do JS you should know already, haven’t you been reading everything in JS weekly every week?). There is a free course called JavaScript30 offered by Wes Bos, in which you build 30 small project using vanilla JS. Since it is perceived pretty well in JS community, I decided to start from there.

How to run, let, also, apply in Kotlin

A short summary on Kotlin standard library functions: run, let, also, apply

2 minute read

If you decide to write Kotlin code, eventually you will see a lot of usage of the following 4 functions from standard library: run, let, also and apply. After doing a lot of research, I show simple examples of how to use them here. First, a helper class Student. class Student(name: String, age: Int, stuNum: String) { var name = name private set var age = age private set var stuNum = stuNum private set fun increaseAge() { age++ } fun nameToUpperCase() { name = name.

Thoughts About Programming While Teaching My Baby to Walk

What I realized about programming when teaching my baby to walk

3 minute read

My daughter is 11 months old, recently she started to stand up and walk baby steps by her own. Most of the time she has to use sofa to help her, and she falls down in all different ways all the time. So we have this idea that to protect her, we can buy some kind of special helmet to ease the pain when she falls down. But after some considering we decided not to.

Punk Rock Languages

A Polemic - by Chris Adamson

17 minute read

It’s rare that in one article the author praises C and JavaScript at the same time. After I read this one, I fear that it may vanish any time soon, so I decided to repost it here. That C has won the end-user practicality battle is obvious to everyone except developers. The year is 1978, and the first wave of punk rock is reaching its nihilistic peak with infamous U.

GOOS Book Distilled Part 14

A follow through of the great book Growing Object-Oriented Software, Guided by Tests with code

8 minute read

This is a series of blog posts going through the great book Growing Object Oriented Software Guided By Tests, typing in code chapter by chapter, trying to add some of my own understanding where things may not be easy to grasp in the book. I highly recommand you get a copy of the book and follow along with me. Happy coding. This post covers Chapter 17 of the book: Teasing Apart Main.