0
113
Anders429

@programming.dev

Anders429 82 points 2 years ago

Know a guy who tried to use AI to vibe code a simple web server. He wasn't a programmer and kept insisting to me that programmers were done for.

After weeks of trying to get the thing to work, he had nothing. He showed me the code, and it was the worst I've ever seen. Dozens of empty files where the AI had apparently added and then deleted the same code. Also some utter garbage code. Tons of functions copied and pasted instead of being defined once.

I then showed him a web app I had made in that same amount of time. It worked perfectly. Never heard anything more about AI from him.

path: 0 16412903, hotness: undefined, score: 82, children: 15
Anders429 61 points 2 years ago

Looks like the kidnapper also stole the null terminator for this string!

path: 0 12320979, hotness: undefined, score: 61, children: 0
Anders429 54 points 3 years ago

I've seen this same thing happen with Python's type hints. Turns out giving an "escape hatch" type for devs who have no clue what the type actually is leads to a lot of useless type hints.

path: 0 5494723, hotness: undefined, score: 54, children: 4
Anders429 50 points 3 years ago

What the hell are you talking about

path: 0 5438660 5438918 5441540, hotness: undefined, score: 50, children: 1
Anders429 43 points 3 years ago

I'm a bit confused about the premise of the article. Does anyone assert that typing speed is a bottleneck at all? I've been in the industry for years, and have never heard that claim.

I do agree about the whole "less code is not always more", but I get confused when the author keeps bringing it back to typing speed.

path: 0 5062764, hotness: undefined, score: 43, children: 5
Anders429 37 points 3 years ago

What the heck is this paywalled article doing here? That's some reddit-level shit.

path: 0 4817432, hotness: undefined, score: 37, children: 7
Anders429 33 points a year ago

It would be slower to read the value if you had to also do bitwise operations to get the value.

But you can also define your own bitfield types to store booleans packed together if you really need to. I would much rather that than have the compiler do it automatically for me.

path: 0 17082918 17084367, hotness: undefined, score: 33, children: 0
Anders429 29 points 2 years ago

It's a joke omg

path: 0 14768207 14768664 14771580, hotness: undefined, score: 29, children: 0
Anders429 25 points 3 years ago

Most sites load no content at all if JS is disabled.

path: 0 4931481 4931592, hotness: undefined, score: 25, children: 10
Anders429 24 points 3 years ago

Bold of you to assume they even clicked the link

path: 0 4092124 4092329 4097515, hotness: undefined, score: 24, children: 0
Anders429 23 points a year ago

A lot of people seem to be celebrating this, but I personally think this is a net negative for programming. Are people actually replacing SO with talking to LLMs? If not, where are they going?

I've seen an uptick in people using places like discord to get help. But that's not easily searchable and not in the same format that it is in stackoverflow. SO was meant to organize these answers to make asking questions easier. Now it seems like we're walking away from that, and I can't quite understand why. Is it really because SO is "toxic"?

path: 0 17186036, hotness: undefined, score: 23, children: 10
Anders429 23 points 3 years ago

I don't really get why we need social media elements in GitHub at all

path: 0 5995143, hotness: undefined, score: 23, children: 1
Anders429 22 points 3 years ago

What does "FE" stand for in this context? Sorry if it's obvious, I just don't see anywhere that it's actually written out.

path: 0 5824088, hotness: undefined, score: 22, children: 1
Anders429 19 points a year ago

I can't understand how anyone attempts to participate in conversation on that site. People will tell you it's "building your network" and that it's "helping your career," but the reality is it's just a bunch of business people jerking each other off over words that mean nothing.

path: 0 16996614, hotness: undefined, score: 19, children: 0
Anders429 19 points 3 years ago

Bet you $50 we later learn this guy was orchestrating a supply chain attack.

path: 0 5341519, hotness: undefined, score: 19, children: 0
Anders429 17 points 2 years ago

This comment is completely irrational. The fahrenheit temperature is in a screenshot of a text message that was sent in the US. The only temperature in the message you replied to that isn't in the screenshot is in Celsius. How is that "American exceptionalism"?

path: 0 14561961 14566814 14567119, hotness: undefined, score: 17, children: 2
Anders429 16 points 2 years ago

Any context on him "trashing his reputation"?

path: 0 11679912 11680390 11681543 11683898, hotness: undefined, score: 16, children: 1
Anders429 14 points 2 years ago

The const improvements are fantastic. Keep up the good work!

path: 0 13701791, hotness: undefined, score: 14, children: 1
Anders429 12 points 2 years ago

lol just go write C instead

path: 0 14810669 14833138, hotness: undefined, score: 12, children: 0
Anders429 12 points 3 years ago

I'm confused. What makes you think they have been put in a position of authority? Anyone can simply create a fork, or a separate project completely, and go a different direction. You're not obligated to use any third party crate.

I do agree that they handled that interaction pretty poorly, though.

path: 0 4175876, hotness: undefined, score: 12, children: 0

thanks for using Leebra!

go to feed...