Better HN
topnewbestaskshowjobs
Log inSign up

grepmo

1 karma · joined Feb 24, 2011 (15y ago) · 3 submissions

https://news.ycombinator.com/front?day=2011-02-24&birth=grepmo
Submissions

comment 2y ago · link · parent

We're in the complex phase between point A of a low-entropy uniform distribution of densely packed particles with strong gravitation, and point B of a high-entropy uniform distribution of widely spaced particles with almost no gravitation.

The second law is unfortunately taking us to B eventually, but it's also responsible for the journey from A to where we are today!

A being the Big Bang and B being heat death (est. 1.7×10^106 years).

comment 14y ago · link · parent

Journal of Irresponsible Research?

comment 14y ago · link · parent

I'm here if you want to to discuss the post. I admit it was a bit of a rant.

The post was not specific about the "Bad Python" that inspired it because I didn't want to be mean to the project where I'd seen most of those things.

I'll break down the observations as follows, since at a closer look they are not specific to Python:

1) "Bad Python" is often "Old Python" - code limited to the features available in Python 2.2. In general when coding in a fast-moving language, the old ways are going to look bad.

2) "Bad Python" is often "Java Python" - Python written using Java idioms. In general, it's poor form to apply the idioms from one language to another wholesale.

3) Lastly, "Bad Python" is often simply "Bad Programming" - most of the end of the article lists things that would be poor practice in any programming language.