MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/889h93/tensorflowjs/dwj9id1/?context=9999
r/javascript • u/deathmood • Mar 30 '18
101 comments sorted by
View all comments
101
we are actively working on creating node.js bindings to the TensorFlow C API
This makes me so happy, because when they are done I lose the last reason to ever use Python in my life ^-^
30 u/2Punx2Furious Mar 30 '18 You don't like Python? 75 u/gavrocheBxN Mar 30 '18 I like Python but I love TypeScript 6 u/SamSlate Mar 30 '18 what can you do with type you can't with vanilla? (serious question) 82 u/aaaqqq Mar 30 '18 refactor large code bases with impunity 1 u/ProcrastinatingNow Mar 30 '18 You could technically do that with flow. But seeing as you have transpile whether you use flow or TS, I guess it’s down to preference.Edit: actually I forgot that flow supports type hints in comments. So you might be able to get away with vanilla JS but static type analysis. 14 u/aaaqqq Mar 30 '18 I was responding to ts vs vanilla not ts vs flow. Flow is good (that's what I use at work) but its tooling sucks.TS also supports type hints via jsdocs. But then if you're using comments/jsdocs to add types, why not just use TS/Flow
30
You don't like Python?
75 u/gavrocheBxN Mar 30 '18 I like Python but I love TypeScript 6 u/SamSlate Mar 30 '18 what can you do with type you can't with vanilla? (serious question) 82 u/aaaqqq Mar 30 '18 refactor large code bases with impunity 1 u/ProcrastinatingNow Mar 30 '18 You could technically do that with flow. But seeing as you have transpile whether you use flow or TS, I guess it’s down to preference.Edit: actually I forgot that flow supports type hints in comments. So you might be able to get away with vanilla JS but static type analysis. 14 u/aaaqqq Mar 30 '18 I was responding to ts vs vanilla not ts vs flow. Flow is good (that's what I use at work) but its tooling sucks.TS also supports type hints via jsdocs. But then if you're using comments/jsdocs to add types, why not just use TS/Flow
75
I like Python but I love TypeScript
6 u/SamSlate Mar 30 '18 what can you do with type you can't with vanilla? (serious question) 82 u/aaaqqq Mar 30 '18 refactor large code bases with impunity 1 u/ProcrastinatingNow Mar 30 '18 You could technically do that with flow. But seeing as you have transpile whether you use flow or TS, I guess it’s down to preference.Edit: actually I forgot that flow supports type hints in comments. So you might be able to get away with vanilla JS but static type analysis. 14 u/aaaqqq Mar 30 '18 I was responding to ts vs vanilla not ts vs flow. Flow is good (that's what I use at work) but its tooling sucks.TS also supports type hints via jsdocs. But then if you're using comments/jsdocs to add types, why not just use TS/Flow
6
what can you do with type you can't with vanilla? (serious question)
82 u/aaaqqq Mar 30 '18 refactor large code bases with impunity 1 u/ProcrastinatingNow Mar 30 '18 You could technically do that with flow. But seeing as you have transpile whether you use flow or TS, I guess it’s down to preference.Edit: actually I forgot that flow supports type hints in comments. So you might be able to get away with vanilla JS but static type analysis. 14 u/aaaqqq Mar 30 '18 I was responding to ts vs vanilla not ts vs flow. Flow is good (that's what I use at work) but its tooling sucks.TS also supports type hints via jsdocs. But then if you're using comments/jsdocs to add types, why not just use TS/Flow
82
refactor large code bases with impunity
1 u/ProcrastinatingNow Mar 30 '18 You could technically do that with flow. But seeing as you have transpile whether you use flow or TS, I guess it’s down to preference.Edit: actually I forgot that flow supports type hints in comments. So you might be able to get away with vanilla JS but static type analysis. 14 u/aaaqqq Mar 30 '18 I was responding to ts vs vanilla not ts vs flow. Flow is good (that's what I use at work) but its tooling sucks.TS also supports type hints via jsdocs. But then if you're using comments/jsdocs to add types, why not just use TS/Flow
1
You could technically do that with flow. But seeing as you have transpile whether you use flow or TS, I guess it’s down to preference.
Edit: actually I forgot that flow supports type hints in comments. So you might be able to get away with vanilla JS but static type analysis.
14 u/aaaqqq Mar 30 '18 I was responding to ts vs vanilla not ts vs flow. Flow is good (that's what I use at work) but its tooling sucks.TS also supports type hints via jsdocs. But then if you're using comments/jsdocs to add types, why not just use TS/Flow
14
I was responding to ts vs vanilla not ts vs flow. Flow is good (that's what I use at work) but its tooling sucks.
TS also supports type hints via jsdocs. But then if you're using comments/jsdocs to add types, why not just use TS/Flow
101
u/CiezkiBorsuk Mar 30 '18
This makes me so happy, because when they are done I lose the last reason to ever use Python in my life ^-^