Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code review #1

Open
Tobi4s1337 opened this issue Oct 17, 2023 · 0 comments
Open

Code review #1

Tobi4s1337 opened this issue Oct 17, 2023 · 0 comments

Comments

@Tobi4s1337
Copy link

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.

@mxve mxve pinned this issue Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant