this post was submitted on 09 Feb 2025
40 points (97.6% liked)

Python

6628 readers
117 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
 

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

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 2 days ago

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.

[–] [email protected] 22 points 2 days ago

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.

[–] [email protected] 14 points 2 days ago* (last edited 2 days ago)

Theres technically a code review community at [email protected] although ive seen some people also post code reviews in the language/engine communities

[–] [email protected] 11 points 2 days ago* (last edited 2 days ago) (1 children)

gist.github.com

pastebin.com

[–] [email protected] 22 points 2 days ago (1 children)

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

[–] [email protected] 1 points 2 days ago

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

[–] [email protected] 7 points 2 days ago (1 children)

I'm sure there's plenty of people willing to πŸ’© all over your code.

[–] [email protected] 5 points 2 days ago (2 children)

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

https://github.com/msftcangoblowm

[–] [email protected] 4 points 1 day ago (1 children)

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

[–] [email protected] 3 points 1 day ago

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)

[–] [email protected] 3 points 2 days ago (1 children)

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

[–] [email protected] 2 points 2 days ago* (last edited 2 days ago)

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

[–] [email protected] 1 points 2 days ago

I dont see why not.

[–] [email protected] 1 points 2 days ago

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