News for hackers. Stuff that matters.
Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by userbinator on Tuesday December 24, 2024 @04:55AM (#42500852)
When you have to manually search for files and then Ctrl+F to find functions, lookup docs in a web browser (which I hear is how people who don't use IDEs still do that), or manually run a linter/compiler to see warnings in your code, you're just being really inefficient.

It's inefficient the first time but you quickly build a working memory and a deeper mental model of the code, which becomes even more useful in the future.

Why don't you use automation to help your job when the whole point of your job is automation?

That sort of thinking will get your job automated out of existence.

Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by continuational on Tuesday December 24, 2024 @05:23AM (#42500973)
Good riddance?

Why spend your life doing something a computer could do for you?

The goal of programming is not to write code (however much I enjoy that part), it is to solve problems.

I don't think copilot et al is anywhere close yet though. They are occasionally useful when working with popular APIs you use very rarely, or when you need to write some very repetitive code. Other than that, I feel like it's mostly a monkey typing plausible but incorrect code on my screen everywhere I go.

Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by userbinator on Tuesday December 24, 2024 @05:48AM (#42501089)
Why spend your life doing something a computer could do for you?

Why spend your life doing _anything_ a computer could do for you? Why even live, if you're going in that philosophical direction?

I don't think copilot et al is anywhere close yet though.

Unfortunately, many of those in management already think it is.

The less people use their brains, the more easily they will be replaced, and the worse the product they'll produce. Unless you want to lose your job and let society drown in mediocre software (which you will no doubt need to use), do not hand over your agency to the machine.

Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by mithametacs on Tuesday December 24, 2024 @05:31AM (#42501010)
I don't want to write any code. I want to think about the design of the program and have it pop out of my head fully formed.

The latter gives me dopamine. The former gives me carpal tunnel.

Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by lttlrck on Tuesday December 24, 2024 @08:59PM (#42506328)
For myself, the code is the journey. There are times though when I'm not fully invested in the problem, that I really just want to skip that part.
Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by mithametacs on Wednesday December 25, 2024 @11:39AM (#42509593)
Sure code can be cool for the same reason hip-hop is more than just the meaning of the words.

The typing is the rhyme scheme. The algorithm is the rhythm.

Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by sly010 on Tuesday December 24, 2024 @05:43PM (#42505480)
> The goal of programming is not to write code (however much I enjoy that part), it is to solve problems.

Right, which is exactly why autocomplete is not a huge help.

Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by jpeggtulsa on Wednesday December 25, 2024 @04:19PM (#42511231)
That makes no sense whatsoever. Autocomplete helps you speed up the writing of the code so you can focus on solving the problems more often.
Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by redserk on Wednesday December 25, 2024 @06:19PM (#42511870)
I switch back and forth between using autocomplete/LSP in an IDE and plain-jane vim. Autocomplete isn't the end-all-be-all of productivity you're making it out to be.

I've only found it truly useful in a codebase, language, or library I'm unfamiliar with or haven't touched in a long time.

It doesn't do much for me most of the time as I'm usually thinking or walking around the code, but the codebases I'm in usually are extremely easy to jump around in with fzf.

Properly naming functions/classes/modules goes a long way.

Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by marssaxman on Thursday December 26, 2024 @02:39PM (#42517235)
Writing the code doesn't generally take a great deal of time once I know what code needs to be written, so there's little value to be gained in optimizing that part of the process. I can think while I type, after all.
Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by scarface_74 on Tuesday December 24, 2024 @12:43PM (#42503460)
We are not paid to “code” we are paid to use our knowledge of the technology ecosystem to add business value - either save the company money or to make the company money.

Back in the 2000s for me part of that job was to lead the buildout of a data center with a SAN that took up a whole room to hold 4TBs. Now I do that with 5 lines of yaml in a CloudFormation template.

My job was not “automated out of existence” by not having to provision a data center as part of it.