TypeScript: Stop Using 'any', There's a Type For That

How to convert between callbacks and Promises in Javascript

New campaign targeting security researchers

Issue #61

1/26/2021

A Byte of Coding Issue #61
Hakuna Matata
It's our problem free, philosophy. And here's the issue.

TypeScript: Stop Using 'any', There's a Type For That

Published: 13 October 2020
Tags: typescript


If you're using TypeScript, you mgiht sometimes be tempted to take the easy way out and slap the any type on something you can't be bothered to type. Well in this article, Alejandro Dustet and Wil Hall discuss the intricacies of why if you use the any type in TypeScript, you're gunna have a bad time mmkay?

Read Full Article

How to convert between callbacks and Promises in Javascript

Published: 26 January 2021
Tags: javascript


Await/async are my go to in most JavaScript programming, since I personally think it makes code much more readable and easier to reason about. Unfortunately, not all JavaScript code has caught up (or shares the same opinion), and often times you might have to work with callbacks. In that case, Tamás Sallai has written an article where you can learn how to switch between the two, reimplementing any legacy (or poorly written code) into your perferred solution.

Read Full Article

New campaign targeting security researchers

Published: 25 January 2021
Tags: security


More security related than programming, but this in this article, Adam Weidemann brings to light how a "government-backed entity based in North Korea" is up to some shady shenanigans, in an attempt to build credibility with the CompSec community. Stay vigilant, stay safe.

Read Full Article
Thanks for your Support! 

Thanks to supporters like Євген Грицай, Scott Munro, zturak, pek, and Emil Hannesbo this newsletter is provided to you for free. If you'd like to also show your support and help out, you can donate on the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.
Donate Here

Stats (updated daily)

Sent: 1451

Opens: 928

Clicks: 342

Link Clicks Clicks % Unique Clicks Unique Clicks %
TypeScript: Stop Using 'any', There's a Type For That 135 39.47% 111 39.93
How to convert between callbacks and Promises in Javascript 118 34.50% 94 33.81
New campaign targeting security researchers 80 23.39% 67 24.10
Donate Here 9 2.63% 6 2.16

Previous

Back to Issues

Next