firefly icon indicating copy to clipboard operation
firefly copied to clipboard

Tsify - Functions

Open SamBroner opened this issue 6 years ago • 3 comments

@sampl here's a rough draft of functions tsify-ed... Kind of interesting if you clone it.

You're gaining a type system. That comes with a few clear benefits for new devs: autocorrect, api discovery through intelli-sense.

I'll finish the rest at some point, but probably not today.

SamBroner avatar Nov 20 '18 07:11 SamBroner

Just looked through this, very cool @SamBroner.

My current thinking is to not merge to master since it's a beginner boilerplate, though I'm open to reconsidering if I have a chance to dive into TS more myself.

If you decide to fork Firefly with TS, I'd be happy to link to it in the docs and readme.

sampl avatar Nov 26 '18 14:11 sampl

Fair. I do encourage you to play around with the functions code. You may find discovery much easier. I'm finding myself evangelizing TypeScript, especially when helping devs who are coming from a typed world. (Devs used to zero compilation JS are a little less excited!)

Swapping over the view code seemed like unnecessary work in order to fulfill my own agenda. Hopefully someone else can take this idea and finish the rest.

SamBroner avatar Nov 26 '18 15:11 SamBroner

Will definitely do next time I get the chance. Thanks Sam.

sampl avatar Nov 29 '18 22:11 sampl