News for hackers. Stuff that matters.
Re:Swift for TensorFlow Shuts Down by jiofih on Friday February 12, 2021 @07:56PM (#26120460)
You get the same with JavaScript if you use any mainstream editor with TS support (you don’t need to be using TS yourself).
Re:Swift for TensorFlow Shuts Down by mrtksn on Friday February 12, 2021 @08:21PM (#26120580)
I use VSCode, it’s helpful but It’s not remotely the same. With TS it’s better when the devs included documentation.
Re:Swift for TensorFlow Shuts Down by jiofih on Friday February 12, 2021 @09:02PM (#26120786)
It will use typescript type definitions when available, even if you’re writing plain JS. Auto complete works perfectly, what’s not remotely the same?
Re:Swift for TensorFlow Shuts Down by mrtksn on Saturday February 13, 2021 @02:35AM (#26122067)
It's not the same because in JS you usually would use a large number of libraries with varying degree of documentation and different conventions. Also, you would loose autocomplete when you expect to receive something as a parameter instead of defining it in that closure.

The basic language API is not that large, the benefit of autocomplete discovery comes when you have autocomplete on custom types of a specific framework accompanied with proper documentation.

Re:Swift for TensorFlow Shuts Down by jiofih on Saturday February 13, 2021 @04:21PM (#26127055)
I’m sure NestJS, which sparked this thread, has very complete type defs, as does any major framework out there.

You seem intent on dismissing something you obviously haven’t tried in the past couple years; next time I’d suggest a simple “I don’t like it” instead to save us all time.