CategorySoftware Development

Why Learn Vim In 2019?


I’ve been using Vim for more than 3 years now. This is an eternity in the web development world. So many things have changed but the most important and unbelievable thing happened is Visual Code, the slick IDE from Microsoft (!) that has become the most prevalent IDE for JavaScript. There are IDEs and editors out there are Sublime Text, GitHub Atom, and others. So now that we have all those...

Best JavaScript Bloggers To Follow In 2019


It has been 164 issues of my weekly JavaScript newsletter already. And this little article is becoming some sort of a tradition. I did one like this in 2017 and in 2018, so this is the third one. Here I simply list the authors that I think are very good at writing about JavaScript. They are all strong personalities, achievers and what’s the most important JavaScript community influencers...

JavaScript Interview Exercises With Solutions 2019


I find it extremely beneficial to ask a job seeker to solve some of the following exercises. It helps to understand how good is a person you’re dealing with in JavaScript and also shows how he or she thinks about the problems in general. In this article, I’d like to share some of those exercises. Just putting them here in no particular order. Feel free to use any of them in your next...

Setting Up Vim For TypeScript


TypeScript is a transpiled language that allows using types in your JavaScript code (strictly saying it’s a superset of JavaScript) and thus catching errors at compile time and making the code more reliable. Let’s see what we need for a highly-productive Vim setup for TypeScript. Syntax Highlight For syntax highlighting, I use a couple of plugins. The first one is...

5 Awesome Vim Plugins You May Never Have Heard About


I’ve been browsing people’s dotfiles recently and found some very cool Vim plugins which I’ve never seen before. So I thought I need to spread the word. Buftabline — buffer list that lives in the tabline Buftabline You might have heard that Vim users would rather use buffers instead of tabs, which is a more native way to work with files in Vim. To me, it was always a bit...

Converting A Stateful React Component To Function With Hooks


For a long time if we wanted to create a stateful component in React we needed to create a class and inherit it from React.Component. But dealing with classes can be a frustrating experience and contradicts the functional nature of React itself. I wrote a rant article on that before. With the release of React v16.7.0-alpha, React team proposed a way to create stateful components based on...

How To Edit A Vim Macro?


I use macros (by the way this is plural of macro) pretty often in my daily workflow. There are always some tasks that you need to do quickly on a large text file, and that’s where macros shine. Sometimes though it’s not trivial to get a macro right from the first time. But do you know there’s a simple hack to modify an already recorded macro without re-recording it? First, a...

The Pipeline Operator In JavaScript


There is a very early proposal for the next version of JavaScript (aka ESNext proposal) which I’m really eager to see making it through. I’m talking about the pipeline operator “|>”. Immediately, all the guys coming from the functional world know what I’m talking about. Pipeline operator has been for some time in Elm, Elixir, and many other functional languages...

Setting up Webpack 4 and Babel 7 for React Step By Step


In this article, I’m going to quickly show how to start a new React app with Webpack 4 and Babel 7. This is going to be a no-bullshit step-by-step guide. Spoiler: it’s very easy. Create a new directory with mkdir test-react-app && cd test-react-app Init the package.json with command npm init -y (-y flag means don’t ask just create it) Install Webpack npm install webpack...

Recent Posts