Lurker News

Comments (1,272) 260 threads

Earlier comments
Geee#
I've been using TabNine[0] for a few years, which is great. How does this compare?

[0] https://www.tabnine.com

adelarsq#
Tabnine, It's you?
krzyk1 reply#
I wonder why there is no example in java. It is one of the most popular languages (drfinatelly more popular than ruby or Go, and on par with Javascript and python).
machiaweliczny#
Cause Java is enterprise lang and programmers there know Microsoft master plan, so it won't get adoption. They rely on newbs and hippies to help them train it.
fabiospampinato2 replies#
IMO a potentially more interesting application of this technology would be a learning system that is able to learn your coding style. You give it access to the codebase and it reformats all files on save according to your likings, perfectly.

Obviously a program that is able to write actual great code reliably would be spectacular, but we aren't there yet, I don't think Copilot presently is able to make me meaningfully more productive.

1010111 reply#
Don't most IDEs handle this already?
fabiospampinato1 reply#
There are no tools that can format my code with my coding style AFAIK. There are multiple tool that can format my code with their coding style though, which I don't care about.
dawnerd1 reply#
Most? All? Allow you to edit the config to get it to your coding style but it would be cool to infer it from files you’ve already written.

Continue this thread — 1 reply

kleiba2 replies#
Formatting code according to a given style is a much easier task than what Copilot does.
alpaca128#
Apparently not that easy[0]. Depending on one's priorities formatting/pretty-printing code can be trivial or very difficult. Doing that dynamically based on a user's individual preferences or even their existing codebase's style is probably much harder.

I don't doubt Copilot is also quite a problem to solve, most likely indeed harder, though in that case at least there's an abundance of training data.
[0] https://news.ycombinator.com/item?id=22706242

fabiospampinato#
It depends what you mean by "given", I can't write a million line document describing exactly what kind of style I want it to use, the formatter must learn the style on its own from examples.

I agree that something like that would be much easier to make in theory, hence why I'm suggesting it since maybe it could be made ~perfectly, which Codepilot isn't (we haven't unlocked AGI yet).

Load more comments