Is it ok to post code (~250 LOC) for critique here?
from 0101100101@programming.dev to python@programming.dev on 09 Feb 2025 00:10
https://programming.dev/post/25179166

Working on a class that I’d like to use in a library (not for work) and think I’d appreciate external opinions!

If not, where else could I post code for critique? Thanks

#python

threaded - newest

eager_eagle@lemmy.world on 09 Feb 2025 00:18 next collapse

gist.github.com

pastebin.com

Ategon@programming.dev on 09 Feb 2025 03:36 collapse

we also host an instance of opengist at blocks.programming.dev as an alternative to those if wanted

0101100101@programming.dev on 09 Feb 2025 13:47 collapse

Awesome! Maybe this should be added to the topic of each language-specific channel?

m_f@discuss.online on 09 Feb 2025 00:59 next collapse

IMO this is a good fit. There’s no rule against it, and I’m a fan of not splitting up communities until really necessary. Maybe once there’s so many people posting code for review that it becomes annoying to find other posts, then it’d be worth creating a new code review community or something.

Balthazar@lemmy.world on 09 Feb 2025 01:09 next collapse

I’m sure there’s plenty of people willing to 💩 all over your code.

logging_strict@programming.dev on 09 Feb 2025 04:22 collapse

i’m not so sure. Shitting over code takes actual effort and skill. Wish more people took the time.

Have never had the experience. Feel free to prove your point

github.com/msftcangoblowm

Braindead@programming.dev on 09 Feb 2025 08:46 next collapse

A+ for humor usage. Shitting on code is time consuming, so you’re not going to get rekt by me…

logging_strict@programming.dev on 09 Feb 2025 13:07 collapse

This thread is about gists. Totally missed the point by posting my entire profile. Quickly regretted it

So embarrassing. Opps

The embarrassment was motivation enough to look up how to make a gist.

create a branch (switch to the branch)

remove the code that would be in the gist

commit the branch

revert the commit

git push

share the revert commit

Although remember how still have never tried to create and share a gist

Balthazar@lemmy.world on 09 Feb 2025 17:51 collapse

I’m not going to dare to lecture the author of pytest-logging-strict. Thank you for your service. 🫡

logging_strict@programming.dev on 10 Feb 2025 08:18 collapse

Thank you for your kindness. This is the first time ever anyone thanked me for creating and publishing FOSS

For Python packages you wrote, if has hardcoded logging configuration, let me know. Would be a unique way i can contribute.

Just point me at the package(s)

solrize@lemmy.world on 09 Feb 2025 01:46 next collapse

Better to use a paste bin and ask specific questions rather than just please choose l critique this code.

muntedcrocodile@lemm.ee on 09 Feb 2025 02:23 next collapse

I dont see why not.

Ategon@programming.dev on 09 Feb 2025 03:39 next collapse

Theres technically a code review community at !code_review@programming.dev although ive seen some people also post code reviews in the language/engine communities

Artyom@lemm.ee on 09 Feb 2025 13:58 collapse

Maybe when Lemmy gets bigger, I’d like to have a Python community for news and a learnpython community for code help like we had on reddit. However, this community isn’t huge, so go ahead and post it here.