Hacker News new | ask | show | jobs
by melling 2076 days ago
For programming, we should be trying to type less. Tools like TabNine should help:

https://www.tabnine.com/

2 comments

Besides the deep learning part, this is already very much what working in C# and Visual Studio (Code) is like.

To get to

> new FoobarGenerator().Create(new FoobarOptions { foo = 3 });

, the keystrokes would be more like

< new Fo<tab><enter>

> new FoobarGenerator()

< .Cr<tab><enter>

> new FoobarGenerator().Create(

< new<tab><enter>

> new FoobarGenerator().Create(new FoobarOptions

< { f<tab><enter>

> new FoobarGenerator().Create(new FoobarOptions { foo =

< 3 } );

> new FoobarGenerator().Create(new FoobarOptions { foo = 3 });

> Besides the deep learning part, this is already very much what working in C# and Visual Studio (Code) is like.

Or any of the big 3 Java IDEs.

Or vim with a few plugins.
Or emacs, presumably (and TabNine supports “Visual Studio Code, IntelliJ Platform (IntelliJ IDEA, PyCharm, Android Studio, and others), Sublime Text, Vim, Vim (Deoplete), Vim (Coc), Emacs, Atom, [and] Jupyter Notebook”).
Interesting idea, but it's hard for me to reconcile the potential benefits with the pricing model in that specific case, particularly if the model it's using is only trained on open source and not evolving according to the user's own habits.
It keeps training on your own code when installed if you chose it to do so.

Although this was not a great experience on my already slow two core macbook.

The results were pretty amazing though.