this post was submitted on 06 Aug 2023
572 points (97.4% liked)

Programmer Humor

19315 readers
178 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
(page 2) 23 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 1 year ago (5 children)

Python is never the right answer!

[–] [email protected] 1 points 1 year ago (1 children)

I know there's a lot of downvotes because there are people reading this as hate toward Python. On one hand, one can make the case that it is overused and this doesn't bold well for those that simply can never like it's syntax. On the other hand, Python is perfect for small scripts that isn't tailored for a Domain or just quick codes.

load more comments (1 replies)
load more comments (4 replies)
[–] [email protected] -1 points 1 year ago* (last edited 1 year ago) (18 children)

I can't think of a single reason to use bash over Python. Anything you can do in bash can be done in pure Python. Unless you're working in some embedded environment it's a non-issue to install a Python interpreter (you certainly already have one). I would only use sh/bash for packages I'm distributing to avoid the external dependency, and then only if it's a relatively simple script.

load more comments (18 replies)
load more comments
view more: ‹ prev next ›