Re: Since JSDoc seems cerebrally dead...

2020-08-17 Thread Dan Peddle
part-1/ > >> On Mon, Aug 17, 2020 at 2:56 PM Dan Peddle wrote: >> This feels like rich territory for a blog post, if someone feels qualified? >> Specifically, just running the typescript tool chain for jsdoc annotations, >> which are excellent for all the reasons men

Re: Since JSDoc seems cerebrally dead...

2020-08-17 Thread Dan Peddle
This feels like rich territory for a blog post, if someone feels qualified? Specifically, just running the typescript tool chain for jsdoc annotations, which are excellent for all the reasons mentioned above (comments only, vanilla js etc). > On 17. Aug 2020, at 19:35, Andrea Giammarchi >

Re: Conditional await, anyone?

2019-10-08 Thread Dan Peddle
Have to agree, mixing sync and async code like this looks like a disaster waiting to happen. Knowing which order your code will be executed in might seem not so important for controlled environments where micro optimisations are attractive, but thinking about trying to track down a bug through

Re: Proposal: Static Typing

2019-03-26 Thread Dan Peddle
It's really a shame few mention jsdoc anymore. It provides mechanisms to achieve all of these developer experience quality of life improvements without needing transpiling, and on top of standard js of various flavours, progressively. > On 26. Mar 2019, at 06:43, Ranando King wrote: > >

Re: EcmaScript Proposal – Private methods and fields proposals.

2018-04-17 Thread Dan Peddle
imagine you are shipping a module for use by others, and you don't want to expose internals to consumers. private methods and properties help to know that only the public API is in use, giving confidence in publishing updates or fixes. another use case is knowing that naughty developers aren't

Re: Proposal: anaphoric if and while syntax

2016-09-13 Thread Dan Peddle
horic if", as it allows the body of the statement > to > refer back to the condition value. It's especially helpful in languages > with > truthiness, which ECMAScript has, as it allows access to the *specific* > truthy > value without further finagling. > > Thoughts? >

Re: ES7 - the standard

2016-06-19 Thread Dan Peddle
gt; > > _______ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > > -- Dan Peddle *tel*: +49 157 3918 2066 *email*: d...@flarework.com *www*: http://flarework.com *in*: http://pt.linkedin.com/in/dan