Go developers have everything needed to start writing automated unit
tests using the go test command baked directly into the compiler
toolchain. By hooking into the testing package’s lifecycle and
importing Docker’s client libraries, we can automate integration
tests that manage their own Docker containers.
The ES2018 introduced us with the concept of the rest and spread
operators. Though the ES2015 already introduced us the spread
operator, ES2018 further expanded the syntax by adding spread
properties to object literals. Both of them become very useful when
we need to copy an array or object, or when we need to pass an
indefinite amount of arguments into a function. Here, we'll discuss
both the rest and spread operators.
Riccardo D'Ambrosio recently released RSLint, a
linter for
JavaScript that is written entirely in Rust. RSLint strives to be as
fast as possible, customizable, and easy to use. RSLint is still in
the early phase of its development and features basic Visual Studio
Code integration.
Recently a cool new experimental feature was added to Chrome. We can
get an overview of the CSS used on a website. For example:
information about CSS elements, external stylesheets, colors, fonts,
media queries and also unused declarations (if you want to optimize
things you may want to check it out).
When I tried this on Chrome version 85.0.4183.121 running on macOS
Mojave 10.14.6 using Plurrrr the browser kept showing Processing
Page. After an upgrade to version 86.0.4240.75, CSS Overview worked
as expected. This is a tool I am for sure going to use; highly
recommended.