You are viewing a single thread.
View all comments View context
9 points
*

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

permalink
report
parent
reply
6 points

JSX is JavaScript, but you can also just put HTML in it (with bonus syntax for embedding more JS expressions inside) and it can get transpiled into function calls, which means it’ll result in an object structure representing the HTML you wrote. It’s used so that you can write a component as a function that returns HTML with properties already computed in and any special properties, like event listeners, passed as function references contained in the structure.

permalink
report
parent
reply
7 points

that’s a hell of a lot of words for “is a giant pile of mistakes”

permalink
report
parent
reply
4 points

@kuberoot @sailor_sega_saturn this is very upsetting

permalink
report
parent
reply
5 points

sorry, the reality is worse

permalink
report
parent
reply
3 points

why do so many awful tech companies have rabbit in their names

permalink
report
parent
reply
4 points

Because rabbits are cute and fluffy and good and it is the solemn mission of all terrible tech companies to take the things you love and make you associate them with useless AI products.

permalink
report
parent
reply
7 points

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.

permalink
report
parent
reply

TechTakes

!techtakes@awful.systems

Create post

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

Community stats

  • 1.5K

    Monthly active users

  • 502

    Posts

  • 11K

    Comments

Community moderators