this post was submitted on 16 Sep 2024
95 points (100.0% liked)

TechTakes

1427 readers
148 users here now

Big brain tech dude got yet another clueless take over at HackerNews etc? Here's the place to vent. Orange site, VC foolishness, all welcome.

This is not debate club. Unless it’s amusing debate.

For actually-good tech, you want our NotAwfulTech community

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 2 months ago (10 children)

Someone will have the "brilliant" idea to fix this by having chatbots review code in 5... 4... 3...

[–] [email protected] 8 points 2 months ago (8 children)

I could swear I’ve seen a shartup with this pitch

will try check tomorrow, rn I’m enjoying the sounds of the first thunderstorm of the season

[–] [email protected] 9 points 2 months ago* (last edited 2 months ago) (7 children)

Thanks now you've sent me down the rabbit hole since I searched for this and clicked on the first ad: coderabbit.ai

One of the code reviews they feature on their homepage involves poor CodeRabbit misspelling a variable name, and then suggesting the exact opposite code of what would be correct for a "null check" (Suggesting if (object.field) return; when it should have suggested if (!object.field) return; or something like that).

You'd think AI companies would have wised up by this point and gone through all their pre-recorded demos with a fine comb so that ~~marks~~ users at least make it past the homepage, but I guess not.

Aside: It's not really accurate to describe if (object.field) as a null check in JS since other things like empty strings will fail the check, but maybe CodeRabbit is just an adorable baby JS reviewer!

Aside: the example was in a .jsx file. Does that stand for JavaScript XML? because oh lord that sounds cursed

[–] [email protected] 7 points 2 months ago

You’d think AI companies would have wised up by this point and gone through all their pre-recorded demos with a fine comb so that ~~marks~~ users at least make it past the homepage, but I guess not.

The target group for their pitch probably isn't people who have a solid grasp of coding, I'd bet quite the opposite.

load more comments (6 replies)
load more comments (6 replies)
load more comments (7 replies)