Deno has top level async await which lets you do scary stuff like this:-
console.log('Wait for it...');
await new Promise(r => setTimeout(r, 2000));
console.log('boo!');
https://t.co/jU8Ge8Jye3
An interesting read on why some Deno internals are moving from Typescript to Javascript. Note this is internal only, Deno will continue to run TS user code as default.
https://t.co/BcC0yIHYRx
This will affect 5-10 developers who are working on the Deno core.
Deno Lint Now Available - v1.1.0 released!
Try it out with :
deno upgrade
deno lint --unstable
Full release notes:
https://t.co/Ozbw9tvQzQ
#Deno#DenoLand#DenoDev#DenoCode
@coffeedev1 @ZE_HOs I'm native and I've been corrected by non-native speakers on numerous occasions. It's twitter don't worry about it, feed the grammar trolls 😁
Linting your code can help find bugs earlier and improve your coding standards individually or across a team.
There's a nice linter for Deno written in Rust here:
https://t.co/Z2foNWF7P0
And when you inevitably disagree with your linter there's always
// deno-lint-ignore-file
How strong are your console skills?
Instead of console.log(variableName); try:
console.log({variableName});
Instead of console.log(objectName); try:
console.table(objectName);
Making life easier for #DenoDevelopers#Deno#Javascript#Typescript#Denoland#DenoCode