Live data from Hacker News

Claude Code now supports hooks

docs.anthropic.com

61–70 of 184 posts

Re: Claude Code now supports hooks

#61
post #52

Earlier quoted context omitted.

As an ex-Cursor user myself, is there any reason that you’re still using it? Genuinely curious.

That tab autocomplete and predicting what I'm going to edit next is the best I've found. The rest I can take or leave (plenty of good or better alternatives)

Claude Code has Cursor integration you can use both

Re: Claude Code now supports hooks

#62
post #44

I've been playing with Claude Code the past few days. It is very energetic and maybe will help me get over the hump on some long-standing difficult problems, but it loses focus quickly. Despite explicit directions in CLAUDE.md to build with "make -j8" and run unit tests with "make -j8 check", I see it sometimes running make without -j or calling the test executable directly. I would like to limit it to doing certain…

For the `-j` issue specifically, exporting `MAKEFLAGS=-j8` should work.

or mcp

Re: Claude Code now supports hooks

#63

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?

Re: Claude Code now supports hooks

#64

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.

To misuse a woodworking metaphor, I think we’re experiencing a shift from hand tools to power tools. You still need someone who understands the basics to get the good results out of the tools, but they’re not chiseling fine furniture by hand anymore, they’re throwing heaps of wood through the tablesaw instead. More productive, but more likely to lose a finger if you’re not careful.

[deleted]

Re: Claude Code now supports hooks

#65

Earlier quoted context omitted.

As an ex-Cursor user myself, is there any reason that you’re still using it? Genuinely curious.

I've been using cursor for last 1 year but haven't tried Claude Code, Do you think it has gotten better?

Yes, I abandoned Cursor recently and went back to Claude Code. Two main reasons: 1. The “plan mode” for Claude makes it execute complex tasks much more reliably. It automatically keeps track of todos and completes them. With Cursor I’m constantly fighting with it. 2. I can now use my IDE of choice (JetBrains) rather than a poor fork of VS Code. 3. Daily usage limits now included in the monthly $20/month Claude Pro plan seems to be enough for my daily needs. No extra costs.

Re: Claude Code now supports hooks

#66
post #10

This closes a big feature gap. One thing that may not be obvious is that because of the way Claude Code generates commits, regular Git hooks won’t work. (At least, in most configurations.) We’ve been using CLAUDE.md instructions to tell Claude to auto-format code with the Qlty CLI ( https://github.com/qltysh/qlty ) but Claude a bit hit and miss in following them. The determinism here is a win. It looks like the event…

Why is it that regular git hooks do not work with claude code?

Re: Claude Code now supports hooks

#67

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.

To misuse a woodworking metaphor, I think we’re experiencing a shift from hand tools to power tools. You still need someone who understands the basics to get the good results out of the tools, but they’re not chiseling fine furniture by hand anymore, they’re throwing heaps of wood through the tablesaw instead. More productive, but more likely to lose a finger if you’re not careful.

And we may get an ugly transitory period where a lot of programs go from being clearly hand made with some degree of care and some fine details that show the developer's craftsmanship, to awful prefab and brutalist software that feels inhuman, mass-produced, and nothing is really fit for the job but still shipped because it kind of works well enough.

People go to museums to admire old hand-carved furniture and travel to cities to admire the architecture of centuries past made with hand-chiseled blocks. While power tools do let people make things of equal quality faster, they're instead generally used to make things of worse quality much, much faster and the field has gone from being a craft to simply being an assembly line job. As bad as software is today, we're likely to hit even deeper lows and people will miss the days where Electron apps are good compared to what's yet to come.

There's already been one step in this direction with the Cambrian extinction of 90s/early 2000s software. People still talk about how soulful Winamp/old Windows Media Player/ZSNES/etc were.

Re: Claude Code now supports hooks

#68
post #47

Amazing how there's whole companies dedicated to this and yet claude code keeps leading the way.

Does it? Claude Code is the product that works the least well for me, mainly because of its tendency to go off and do tons of stuff. I've found LLMs are at their best when they produce few enough lines of code that I can review and iterate, not when they go off and invent the world.

For that reason, I mainly use Aider and Cursor (the latter mostly in the "give me five lines" comment mode).

Re: Claude Code now supports hooks

#69
post #44

I've been playing with Claude Code the past few days. It is very energetic and maybe will help me get over the hump on some long-standing difficult problems, but it loses focus quickly. Despite explicit directions in CLAUDE.md to build with "make -j8" and run unit tests with "make -j8 check", I see it sometimes running make without -j or calling the test executable directly. I would like to limit it to doing certain…

For the `-j` issue specifically, exporting `MAKEFLAGS=-j8` should work.

Thanks, I'll let Claude know.

Re: Claude Code now supports hooks

#70

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?
Post reply on HN