Skip to content

Code review #1

@Tobi4s1337

Description

@Tobi4s1337

Yo, listen up, to the beats I drop,
I'm 'bout to review your code, Snoop-style, non-stop.

Group those imports, standard on top, G,
Keep it clean, let them all see.

Duplication, man, it’s all in your flow,
Merge get_github and get_gitea, make that code glow.

Panickin' errors? Nah, that ain't cool,
Use Result, playa, make it the rule.
Unwrappin' every time? Gotta watch your step,
Handle them errors, gain that street rep.

buffer init, man, way up high?
Bring it down, give it another try.

URLs and strings, mixin' all the time,
Use a parser, keep it in line.

Infinite loops, danger in sight,
Cap them iterations, make it right.

Clonin’ and clonin', man, that's a lot,
Reduce 'em clones, make it hot.

Enums and matches, make 'em dance,
Pattern matchin', give it a chance.

Endpoints buildin', kinda complex,
Refactor that, get rid of the vex.

Payload’s heavy, pullin' your ride,
Lighten it up, take it in stride.

Checking names, doin' it twice,
Use a HashSet, that's my advice.

Magic numbers, floatin' around,
Name 'em, tame 'em, keep 'em sound.

Docs on the block, makin' it clear,
Comment your functions, no fear.

This ain't about diss, just some friendly vibe,
Keep coding, homie, join the tribe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions