Live data from Hacker News

Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

twitter.com

21–30 of 125 posts

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#21
post #4

Earlier quoted context omitted.

I wonder. I remember before emissions, what's underneath a car hood was relatively organized and simple. Then with emissions it became a maze of vacuum hoses and so much other nonsense. then ... in some places (maybe cars that people care about working on) it became cleaner again. In the other places, they added a second hood to hide the mess. There is some clean code out there, like maybe the seL4 kernel: https://gi…

It was simple because it was inefficient and archaic. Reducing pollution is not "nonsense"

Not criticizing function, criticizing elegance of the solution. Eventually with time elegance was achieved again.

another analogy would be opening some computers to add memory/ssd/hd, as judged by ifixit

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#22
post #13

Earlier quoted context omitted.

The only reason it's a spaghetti mess is because it's not being prompted correctly by an expert.

Are these experts in the room with us right now? Because if even the creators of Claude seemingly can't prompt non spaghetti code (see: Claude Code leak), I'd like to know who can.

Speaking for myself - they may not have cared to.

I can absolutely prompt AI to following established patterns and produce nice, clean output in a legacy codebase. I also have a completely separate set of skill files that I’ve been building organically by allowing the agent to do make most decisions about conventions. The latter produces code that would be a nightmare to modify by hand, but I’m still able to iterate on it many times faster than I could in the codebase where code quality is a requirement.

“Code quality” is mostly “human readability”, and I’m simply not sure that’s a valuable attribute anymore.

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#23
post #13

Earlier quoted context omitted.

Are these experts in the room with us right now? Because if even the creators of Claude seemingly can't prompt non spaghetti code (see: Claude Code leak), I'd like to know who can.

Speaking for myself - they may not have cared to. I can absolutely prompt AI to following established patterns and produce nice, clean output in a legacy codebase. I also have a completely separate set of skill files that I’ve been building organically by allowing the agent to do make most decisions about conventions. The latter produces code that would be a nightmare to modify by hand, but I’m still able to iterate…

> “Code quality” is mostly “human readability”

That's an extremely narrow view of programming, and shows a complete lack of experience.

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#24
post #13

Earlier quoted context omitted.

Are these experts in the room with us right now? Because if even the creators of Claude seemingly can't prompt non spaghetti code (see: Claude Code leak), I'd like to know who can.

How do you know they were even trying in the first place? Have you analyzed the prompt they used?

How do you know they weren't? Have you analyzed the prompt they used?

There's no shortage of examples of unmaintainable spaghetti AI code, Claude Code is just one of many. If you have examples of good codebases maintained by "prompting experts", I'd love to see them.

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#25
post #20

That's because people like me were doing that and writing about it 20+ years ago. Everything from Claude comes from human minds.

Yes, technology at step N is built from technology at step N-1. Always has been.

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#27
post #3

Yesterday my 8yo prompted (using voice recognition) Claude to make a game where it would play her a song (say Twinkle) and she had to play it back and get scored. The UI was a nice piano with visual feedback. The laptop key served as the keys until I prompted for midi support so she could use the electric piano. The whole thing took about 15 minutes. Meanwhile, one peak at the code and you can already see the state s…

> Meanwhile, one peak at the code and you can already see the state starting to become a bit of a spaghetti mess.

That is how compiler-generated assembly looks to humans, as well. Human-produced is typically much more readable. Yet, here we are. Most programmers only know the very basics of assembly programming, but the world keeps spinning just fine.

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#28
post #11

Earlier quoted context omitted.

The only reason it's a spaghetti mess is because it's not being prompted correctly by an expert.

100% A novice writing code by hand could also write spaghetti code If you've worked in enterprise software, you might have seen that even competent professionals can write spaghetti code At this point AI really is just garbage in garbage out

Haha it’s so comical how predictable downvotes are - which is a proxy for knowing what developers sensibilities are

Wild to me that we see this even in what is a relatively more “sophisticated” forum

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#29
post #24

Earlier quoted context omitted.

How do you know they were even trying in the first place? Have you analyzed the prompt they used?

How do you know they weren't? Have you analyzed the prompt they used? There's no shortage of examples of unmaintainable spaghetti AI code, Claude Code is just one of many. If you have examples of good codebases maintained by "prompting experts", I'd love to see them.

The difference is he’s not passing judgement on it or jumping to conclusions, fyi

Re: Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

#30
post #29
post #24

Earlier quoted context omitted.

How do you know they weren't? Have you analyzed the prompt they used? There's no shortage of examples of unmaintainable spaghetti AI code, Claude Code is just one of many. If you have examples of good codebases maintained by "prompting experts", I'd love to see them.

The difference is he’s not passing judgement on it or jumping to conclusions, fyi

Nobody is jumping to conclusions. There's enough examples to come to perfectly reasonable conclusions and judgements.
Post reply on HN