Live data from Hacker News

Claude Code now supports hooks

docs.anthropic.com

71–80 of 184 posts

Re: Claude Code now supports hooks

#71

As an aside, people say AI will eliminate coding jobs, but then who will configure these hooks? Or think about adding such a feature? These kinds of tooling and related work will still be there unless AI evolves to the point that it even thinks of this and announces this to all other AI entities and they also implement it properly etc.

Yea man, people say combine harvesters will eliminate agriculture jobs, but then who will operate these combine harvesters? Obviously every single manual farm laborer will just switch to being an operator of those.

God, will we never move this discussion past this worthless argument? What value would there be in any of these automatization tools, be in in agriculture or AI, if it just made every single worker switch to being an [automatization tool] operator?

Re: Claude Code now supports hooks

#72
post #37

Earlier quoted context omitted.

That’s great. Regardless of the naysayers about AI hype in tech, it was a major development for general society even if this is all it ends up being.

It remains to be seen whether it's a net value once the VC firehose dries up and the true costs are revealed. It's quite possible that the profitable price is not worth it for most companies.

It can still be a lot more expensive and be cheaper than a human, it might mean less chance taking and spending the money to try set it up and see if it works though. More existing setups, less new setups.

Re: Claude Code now supports hooks

#73

As an aside, people say AI will eliminate coding jobs, but then who will configure these hooks? Or think about adding such a feature? These kinds of tooling and related work will still be there unless AI evolves to the point that it even thinks of this and announces this to all other AI entities and they also implement it properly etc.

> unless AI evolves to the point that it even thinks of this

The #1 goal of every AI company is to create an AI that is capable of programming and improving itself to create the next, more powerful AI. Of course, these kind of configuration jobs will be outsourced to AI as soon as possible, too.

Re: Claude Code now supports hooks

#74
>before this you had to trust that claude would follow your readme instructions about running linters or tests. hit and miss at best. now its deterministic. pre hook blocks bad actions post hook validates results.

>hooks let you build workflows where multiple agents can hand off work safely. one agent writes code another reviews it another deploys it. each step gated by verification hooks.

Re: Claude Code now supports hooks

#75

As an aside, people say AI will eliminate coding jobs, but then who will configure these hooks? Or think about adding such a feature? These kinds of tooling and related work will still be there unless AI evolves to the point that it even thinks of this and announces this to all other AI entities and they also implement it properly etc.

Like in the story about cosmologist and the old lady, you seem to be asking "What is the AI standing on?", and the reply here is of course "You're very clever, young man, very clever, but it's AIs all the way down!"

Many already let Claude Code update its own CLAUDE.md, so I don't see any reason why you couldn't (dangerously-skipping-permissions) let it edit its own hooks. And as in Jurassic Park, the question of whether we should seems to be left by the wayside.

Re: Claude Code now supports hooks

#76

As an aside, people say AI will eliminate coding jobs, but then who will configure these hooks? Or think about adding such a feature? These kinds of tooling and related work will still be there unless AI evolves to the point that it even thinks of this and announces this to all other AI entities and they also implement it properly etc.

You can already ask Claude Code to modify its own settings

Re: Claude Code now supports hooks

#77

As an aside, people say AI will eliminate coding jobs, but then who will configure these hooks? Or think about adding such a feature? These kinds of tooling and related work will still be there unless AI evolves to the point that it even thinks of this and announces this to all other AI entities and they also implement it properly etc.

If programmers become 10x more productive but demand only grows by 5x, what will happen?

Obviously there will still be as many programmers, each working 2.5 days a week.

Re: Claude Code now supports hooks

#78

As an aside, people say AI will eliminate coding jobs, but then who will configure these hooks? Or think about adding such a feature? These kinds of tooling and related work will still be there unless AI evolves to the point that it even thinks of this and announces this to all other AI entities and they also implement it properly etc.

Yea man, people say combine harvesters will eliminate agriculture jobs, but then who will operate these combine harvesters? Obviously every single manual farm laborer will just switch to being an operator of those. God, will we never move this discussion past this worthless argument? What value would there be in any of these automatization tools, be in in agriculture or AI, if it just made every single worker switch…

Barring population growth, there is essentially fixed demand for agriculture. For software we don’t know what the market will look like once everything about making it gets automated. Either we will churn out the same amount of software with fewer people, or the same amount of people will churn out larger amounts of software. Or maybe there will be even more people working on creating enormous amounts of software. I’d say the likely answer is somewhere between the first and second option, but time will tell.

Re: Claude Code now supports hooks

#79

Claude Code has basically grown to dominate my initial coding workflow. I was using the API and passed $50 easily, so I upgraded to the $100 a month plan and have already reached $100 in usage. I've been working on a large project, with 3 different repos (frontend, backend, legacy backend) and I just have all 3 of them in one directory now with claude code. Wrote some quick instructions about how it was setup, its wo…

You can’t use it across three repos like a workspace in Xcode?

It is all file based, so yes you can if you do what OP said: `git clone repo-one && git clone repo-two` and tell claude that repo-one directory is for example frontend, repo-two is backend (or better name the directories after what they are)

Re: Claude Code now supports hooks

#80

As an aside, people say AI will eliminate coding jobs, but then who will configure these hooks? Or think about adding such a feature? These kinds of tooling and related work will still be there unless AI evolves to the point that it even thinks of this and announces this to all other AI entities and they also implement it properly etc.

I generally agree that "we" will still be needed, but OTOH, who needs prettier if no human is ever going to read the code?
Post reply on HN