#node

10 Reasons NOT to Use Go for Your Next Project

#webdev, #go, #node, #irony

They say Go is the language of the web. Of course, with Google backing it up it sounds very objective! But is it as good as they say? I can think of cases where it wouldn't be a good fit

[read more]

How Build a Web App in 11 Minutes and Fall in Love With Sveltekit

#svelte, #node, #webdev, #tutorial

It's been a long time since I got excited about a framework. I often advocate for reinventing the wheel, how come I'm writing an ode to a framework? Short answer because SvelteKit is very good, even though it's still in beta. The long answer is ahead.

[read more]

Five Pro Tips to Master Promises in Js

#javascript, #node, #tutorial, #beginners

Events handling and promises in particular are hands down the best JavaScript feature. You're probably familiar with the concept itself, but in short, a Promise in JavaScript is a promise to call back with the result.

[read more]

How to Use Custom Files as Modules in Nodejs

#javascript, #node, #webdev, #tutorial

There are quite a few cases where you can benefit from importing an arbitrary file directly: in universal apps, tests, or simply to avoid boilerplate. Good news: you don't need Babel, Webpack, or anything else for it.

[read more]

How to Do Magic With Numbers

#javascript, #node, #webdev, #tutorial

JavaScript Number type would have been called double or float64 in a compiled language. Therefore, numbers have some limits

[read more]

5 Ways to Use Redis in Your Next Project

#redis, #node, #database

If the best code is no code at all, then the next best thing is code, that you can explain in one simple sentence. For example, like this: Redis holds a variety of structures in memory and lets you manage them through a text based command protocol. Despite, or maybe, because of its simplicity, Redis has plenty of utility in modern web architecture.

[read more]