scholium - user reported structured todos

2 months ago by Bazebara to c/rust

scholium::mark annotation replaces all kinds of TODOs with Rust-native way, allowing developers to categorize them with better precision, write better reasoning and make them easy to extract, report and maintain in the long run. Thanks to Rust literal string boundaries, it's possible to write long multiline reasons, for example allowing to attach even code snippets if needed.

Annotation is made to be attached to an exact place and it provides only documentation value without altering an item attached in any way. This means if the annotation when be attached to a function, module, crate (or a statement), it documents this particular item and nothing else.

#[scholium::mark(
    info,
    implementation::extend,
    doc::possible_extensions,
    reason = "Extend functionality to use any type implementing `+` operation"
)]
fn add(a: u32, b: u32) -> u32 {
    a + b
}
BB_C 5 points 2 months ago

At least use slop in the README so we can complain.

path: 0 25329679, hotness: undefined, score: 5, children: 2
blazebra 3 points 2 months ago

I havenโ€™t use AI at all

path: 0 25329679 25337712, hotness: undefined, score: 3, children: 1
BB_C 4 points 2 months ago

It was a backhanded complement based on that fact, my friend.

path: 0 25329679 25337712 25338291, hotness: undefined, score: 4, children: 0
blazebra 2 points 2 months ago path: 0 25330506, hotness: undefined, score: 2, children: 0
rust
rust

@programming.dev

login for more options
8329
1423
339

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

go to feed...