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

Programmer Humor

19511 readers
1437 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) 26 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

They may not know but they will when I explain kekeke

[–] kogasa 1 points 1 year ago* (last edited 1 year ago) (19 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 (19 replies)
[–] [email protected] 1 points 1 year ago (5 children)

Python is never the right answer!

[–] Reptorian 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)
load more comments
view more: ‹ prev next ›