mad<hashmap>
JavaScript. Angular. Firebase. Flutter.

944 Followers
·

Image for post
Image for post
image by Aphinya Dechalert

And what to do about it

Once you get a job, it’s easy to get stuck into trading your time for a paycheck. You take the commute, get into the office, brew your coffee, take it to your desk, sit down, and start tapping.

Sometimes, there might be a meeting here and there, a debate with your fellow developers over a module or implementation.

You end your day by going home, going to sleep, and then waking up to do it all over again.

It sounds monotonous. But you convinced yourself otherwise.

Because work is part of life — just like bills, rent, utilities, groceries, and every other little thing in life that chips away at your paycheck. …


Image for post
Image for post
image by Aphinya Dechalert

vanilla JavaScript explained simply

At some point, you might have encountered Object.defineProperty() in someone’s code. It might be through an Angular, React, or Vue project.

However, Object.defineProperty() isn’t actually specific to any of the listed framework/library. It’s actually part of vanilla JavaScript.

Vanilla JavaScript is the foundation of every JavaScript-based library, project, module, and widget. It is just JavaScript in its purest form — unfiltered, no-prewritten configurations and structural requirements. When we work in Angular, React or Vue, we are working with JavaScript.

As we move towards frameworks and libraries, many devs are missing out on the finer details of the scripting language. …


Image for post
Image for post
image by Aphinya Dechalert

Beyond the code, what’s your selling point?

Everyone can code. It’s so easy that even kids are doing it. When you boil it down, code is just translating bits of logic into another format. Once you’ve got the general ideas down (loops, if-else, functions, classes, methods, modules, and general relationships), you can make almost anything you can dream up.

Code itself is not hard.

It’s the itty bitty side bits that make it hard.

For the frontend, there’s an additional visual layer. …


Image for post
Image for post
image by Aphinya Dechalert

lessons learned in a startup before it got acquired

Back in my early days as a dev, I worked for a transport startup that broke up a monopoly by doing weird things. University had given me an impression of a structured and orderly approach towards running a business. Perhaps that’s how things work for other places, but not at the place I ended up.

I was hardly prepared for the way my first proper boss worked.

He hated reinventing the wheel, and any proposal always had to provide alternative existing solutions that could be modded to fit the project’s purpose. …


Image for post
Image for post
Image by Sketchify

non-coding edition

Developers are humans too. But sometimes we forget this with our late-night stints and general lack of vitamin D.

Here are 10 things I’ve learned over the years and try to be mindful of as a developer.

  1. Family first. It’s easy to lose yourself in the hours, to always put the code, the work, the error, the bug, the late-night calls, the scope creep, and the project demands. …


Image for post
Image for post
sketching

A tale of how I ended up with another Apple product

I’m not affiliated with Apple. I’m not an Apple person. I’ve never been an Apple person. But a few months ago, I got an iPad and thought heck, I might as well get the stylus.

Except it’s not called a stylus. With Apple, it’s called a pencil. Oh, how fancy of them.

I’ve always had the impression that Apple products are overtly expensive, which gives the brand a general public perception of it being much more elite than other technological alternatives.

Don’t get me wrong, but Microsoft has improved massively over the past decade, with other strong contenders like Samsung. In part, this is because a lot of them share the same, if not similar, hardware. …


Image for post
Image for post

with bite-sized explanations. Part 1.

Angular is easy — but it’s also hard at the same time.

The thing with Angular is that it’s a framework, which means that it comes as a complete package. Unlike React, which is just a single library, Angular is a collection of libraries organized and arranged in a way that it works as seamlessly as possible with one other.

When we start out, we often create some sort of to-do list app. But a to-do list doesn’t exactly cover everything that you need to know about something.

Below is a compiled list of topics and subjects that I’ve gathered (and summarized) to help you kickstart your Angular exploration journey, along with some helpful resource links. …


Image for post
Image for post
Above view on a flying passenger plane

JavaScript edition

In programming, a first-class function is when a function is treated as a variable. This is special because it means that a function can be passed into another function as an argument.

Not all languages support a first-class function idea, and these are usually natively imperative languages like C. Java and C++ also didn’t use to support first-class based ideas.

Imperative programming tells a computer how to do something — it’s a set of linear instructions that are executed in order. …


Image for post
Image for post

perspective from a developer looking at it for what it is

Wix, Squarespace, Shopify — if you’ve ever watched some sort of tech-related video on YouTube, you would have heard these names in some form. They stalk you through various ad formats, trying to rope you with promises of being ‘code-free’, ‘easy’, ‘revolutionary’, and ‘most advanced platform’ in web development.

But as developers, we know better.

Over the years, I’ve tried my best to block these ads, but to no avail. Over the years, I’ve also had people ask me why I still bother to code if there’s Wix, Shopify, and Squarespace — which feels like a slap in the face.

In the past decade, code has become commoditized and cheap, creating large gaps in making a living wage and what the average Joe is now willing to pay. …


Image for post
Image for post
Firebase

weighing up the good, the bad, and the annoying

Don’t get me wrong, I like Firebase — but with everything dev related, there’s always a good and bad side, with a pinch of annoying that no one really wants to talk about.

What is Firebase? It’s Google’s all-in-one cloud service, neatly packaged and delivered to developers who just want something up and running quickly. No need to worry about provisioning or elastic cloud structures. All you have to do is connect it to your front end and viola! everything just works.

While this is great for rapid prototyping, cost management can get out of hand if you’re not careful.

Personally, I’ve been working with Firebase for the past two years, at different product complexity levels. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store