this post was submitted on 09 Feb 2025
38 points (97.5% liked)

Python

6628 readers
89 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 13 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 11 hours 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] 12 points 21 hours ago* (last edited 21 hours 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] 21 points 1 day 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.

[–] eager_eagle 11 points 1 day ago* (last edited 1 day ago) (1 children)

gist.github.com

pastebin.com

[–] [email protected] 19 points 21 hours 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 11 hours ago

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

[–] Balthazar 6 points 1 day ago (1 children)

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

[–] [email protected] 5 points 20 hours 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

[–] Balthazar 3 points 7 hours ago

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

[–] [email protected] 3 points 16 hours 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] 1 points 12 hours ago* (last edited 12 hours 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 22 hours ago

I dont see why not.

[–] solrize 1 points 23 hours ago

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