Image missing.
Net-Negative Cursor

created: May 29, 2025, 8:53 p.m. | updated: May 30, 2025, 4:12 a.m.

What Cursor thinks great code looks likeHere's the homepage of the Cursor Editor website, at the time of writing:We can look at just the screenshot of the editor, using the Light Mode variant for legibility:The image shows a screenshot of the Cursor IDE, with a pending AI suggestion for a code change. filter ( |& b | b >= 32 || b == 9 || b == 10 || b == 13 ) // Allow space, tab, newline, carriage return . filter ( |& b | b >= 32 || b == 9 || b == 10 || b == 13 ) // Allow space, tab, newline, carriage return . retain ( |& b | b >= 32 || b == 9 || b == 10 || b == 13 ); // Allow space, tab, newline, carriage returnSecond, the comment would be unnecessary if the predicate used character literals instead of decimal numbers, e.g. retain ( |& b | b >= b' ' || b == b' \t ' || b == b'' || b == b' \r ' );Arguably, the code should not use such literals at all, and should instead use the functions provided by the Rust standard library:bytes .

1 week, 3 days ago: Hacker News