Live data from Hacker News

You're Not a Better Engineer Because You Type Git Commands by Hand

minid.net

41–50 of 157 posts

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#41
post #32
post #26

Earlier quoted context omitted.

How do you justify it against all the other abstractions you've accepted and no longer know how to do (or never learned in the first place). Why are the current set of manual steps the right level to be permanently aware of?

The best engineers hand-edit .git Edit: But actually, one of my favorite Git explainers is https://wildlyinaccurate.com/a-hackers-guide-to-git/

I write all my code in assembly on paper then manually translate into opcodes

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#42
post #26
post #8

All above comes at a cost of author slowly starting to understand less and less code in their own projects. Then in other projects as well. After the initial boost is over they will have to pay money just to stay afloat because they have already outsourced their thinking. I’m not anti AI, but I’m very worried about this bragging “you are not better engineer if you do things yourself”. Yes, you are, it all comes in sm…

How do you justify it against all the other abstractions you've accepted and no longer know how to do (or never learned in the first place). Why are the current set of manual steps the right level to be permanently aware of?

[flagged]

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#43

TBH writing shell scripts (and automation tools generally) is the grunt work I most love it for. Git commits and PR descriptions? Those are probably best at least edited/tuned by humans. Because they're meant to be read by humans.

Our commit messages have become useless since we adopted a shared agent skill for making commits. The LLM tends to fill the messages with irrelevant details while still failing to mention what the change actually does.

Exactly.

I was team / tech lead on the last contract gig I had, and I had a policy in writing that people should write their own commit messages and PR descriptions. For this reason and others.

... And follow conventional commit format. Linear commits. Rebasing / fast-forward, no merge commits. Etc. etc.

Nobody paid any attention. The git history was next to useless. Bisecting would be completely impossible. People were mostly just pumping and dumping. I could have drawn a hard red line but the founder was the worst for it.

We're doomed.

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#44
post #26
post #8

All above comes at a cost of author slowly starting to understand less and less code in their own projects. Then in other projects as well. After the initial boost is over they will have to pay money just to stay afloat because they have already outsourced their thinking. I’m not anti AI, but I’m very worried about this bragging “you are not better engineer if you do things yourself”. Yes, you are, it all comes in sm…

How do you justify it against all the other abstractions you've accepted and no longer know how to do (or never learned in the first place). Why are the current set of manual steps the right level to be permanently aware of?

Abstractions are convenience. They’re not free, there is a cost to any work you ask the computer to do. Just staying at the surface level and never understanding what’s under the top level is why software is slow and bloated today. You’re supposed to move beyond the abstraction, understand what you need underneath and use what you really want to do the task.

No wonder we boot up entire browser engines to write simple text editors. But hey, we gotta be first to market to get that VC money, right?

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#45

So on one hand it states: Delivery is becoming a sequence of checks, not a ritual The same thing happens when it is time to deliver. First, I invoke my /definition-of-done skill. It checks whether the implementation covers what was stated in the PR and in the plan. It checks tests and the other validations I care about. It tells me when something looks unusual, broken, or missing. When everything looks good, I invoke…

[deleted]

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#46
post #39
post #26

Earlier quoted context omitted.

How do you justify it against all the other abstractions you've accepted and no longer know how to do (or never learned in the first place). Why are the current set of manual steps the right level to be permanently aware of?

A farmer producing meat is a better farmer than me even if I hire my own farmer. If we invent a meta-farmer profession (for those who hired a farmer) I will be great meta-farmer, but still suck as a farmer

But I don't want farmers, I want meat

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#48
At the end of the day LLM output is not deterministic, and the burden shifts from writing code to reviewing it. It makes sense to cover the review surface with deterministic checks/validations as much as possible - unit test, linters, static analysis tools, e2e integration test etc. one gap I noticed when it comes to such tools is that they are generally language/stack specific and don't cover things like file/directory structure/naming, file relationships/references, use of potentially harmful Unicode [0], general file/config structure, permissions, broken symlinks, files which should not be committed but are, etc. , etc. I've been building a tool - a general repo shape/structure linter, with extensible config/rules - to cover these cases in a deterministic way [1] [2].

[0] https://snyk.io/articles/defending-against-glassworm/

[1] https://github.com/asamarts/alint

[2] https://alint.org/

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#49
post #31

Eh, agents commits are always too verbose. I don't need a 3 paragraph mini novel. Design can go in a design docs folder, project info goes in the issue tracker. The commit should be a short summary <1 paragraph for quick context

No, it should be short when there's little to say, and long when there's lots to say about things best written in a commit message

Re: You're Not a Better Engineer Because You Type Git Commands by Hand

#50
it's tough for people here to admit, but AI is good at summarizing and that includes commit messages and PR fields

but that does NOT mean you get to skip understanding the code & whipping the AI in line during implementation

my preferred workflow:

- think hard about the problem before touching the keyboard

- back and forth with the AI, swatting down bad implementation ideas and poking holes

- settle on a detailed implementation plan

- let the AI go for however long it needs to (usually minutes, sometimes hours)

- review, iterate, test

- "this looks good, commit in focused chunks and create a PR"

- review commits & PR summary, hand edit for clarity

Post reply on HN