JavaScript
React
Post image

How to Use forEach() to Iterate an Array in JavaScript

forEach() in JavaScript calls the provided function on each array item with 3 arguments: item, index, the array itself. Learn how to use forEach().
Continue reading ➞
Post image

An Easy Guide to Object Rest/Spread Properties in JavaScript

Object spread allows easily to clone, merge, extend objects. While object rest collects rest of properties after destructuring.
Continue reading ➞
Post image

7 Architectural Attributes of a Reliable React Component

A detailed explanation of how to architecture React components based on single responsibility principle, encapsulation and composition.
Continue reading ➞
Post image

7 Tips to Handle undefined in JavaScript

A detailed article about 'undefined' keyword in JavaScript. 7 tips on how to handle correctly 'undefined' and increase code durability.
Continue reading ➞
Post image

Announcing Voca: The Ultimate JavaScript String Library

The Voca library offers helpful functions to make string manipulations comfortable: change case, trim, pad, slugifly, latinise, sprintf, truncate, escape and more.
Continue reading ➞
Post image

Make Your Swift Code Expressive: Addition Operator Use Cases

Posted November 16, 2016
Check + and += operators use cases for writing short and concise expressions: sum numbers & measurements, concat strings & arrays, date manipulations.
Continue reading ➞
Post image

How to Use Correctly 'self' Keyword in Swift

Posted November 9, 2016
Interesting dive into practices how to use 'self' keyword in Swift. Should you omit or always use 'self'? Find out the reasons and answer.
Continue reading ➞
Post image

Mastering Swift: Tips About Array and Dictionary Literals

Posted November 1, 2016
How to use Swift literals to initialize the 3 fundamental collection types: array, set and dictionary. Details about collection type inference.
Continue reading ➞
Post image

Useful Details About Underscore Keyword in Swift

Posted October 25, 2016
The underscore keyword `_` is used to skip providing unnecessary details in Swift. See all its use cases in details and explanatory examples.
Continue reading ➞
Post image

Coding like Shakespeare: Practical Function Naming Conventions

Updated July 11, 2019
Code like a poet! The article describes practical function naming conventions to increase the code readability. Useful clean code tips and examples.
Continue reading ➞

Quality posts into your inbox

I regularly publish posts containing:

  • Important JavaScript concepts explained in simple words
  • Overview of new JavaScript features
  • How to use TypeScript and typing
  • Software design and good coding practices

Subscribe to my newsletter to get them right into your inbox.

Join 6457 other subscribers.
Dmitri Pavlutin

About Dmitri Pavlutin

Tech writer and coach. My daily routine consists of (but not limited to) drinking coffee, coding, writing, coaching, overcoming boredom 😉.