this post was submitted on 09 Feb 2025
41 points (97.7% liked)

Python

6628 readers
111 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
[–] Artyom@lemm.ee 8 points 1 day 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.

[–] m_f@discuss.online 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.

[–] Ategon@programming.dev 14 points 2 days ago* (last edited 2 days ago)

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

[–] eager_eagle@lemmy.world 11 points 2 days ago* (last edited 2 days ago) (1 children)

gist.github.com

pastebin.com

[–] Ategon@programming.dev 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

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

[–] Balthazar@lemmy.world 7 points 2 days ago (1 children)

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

[–] logging_strict@programming.dev 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

[–] Balthazar@lemmy.world 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. 🫑

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)

[–] Braindead@programming.dev 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...

[–] logging_strict@programming.dev 2 points 1 day ago* (last edited 1 day 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

[–] muntedcrocodile@lemm.ee 1 points 2 days ago

I dont see why not.

[–] solrize@lemmy.world 1 points 2 days ago

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