Hacker News new | past | comments | ask | show | jobs | submit | workthrowaway's comments login

> Until you have a dependency which has a C dependency (like a crypto framework, SQL connector, etc).

but... that's not a python problem.

every time people say they are having a hard time installing a python module, it's almost always a non-pure python module. it has an extension in c or c++. if that tells us anything, it's that mixing c and c++ makes software hard to install...

a fairer comparison with go here is with a go package that has extensions or bindings written in another language.


Sure, but the most popular Python connectors for MySQL and PostgreSQL both utilize C or C++ extensions, whereas the equivalent connectors for Go are both written in pure Go. Even if it's not a problem with the language in its purest form, it is a problem with the ecosystem.


It is a Python problem because we praise Python for how portable it is, that it binds with every C library out there to provide the functionality we need at the performance we want and how easy it is to install with Pip. But then forget all the problems people get in during installing.

A fairer comparison would be comparing the ease of how to create and install a cross platform Go binary compared to how to distribute a Python application as a single package/pseudo-binary (I've been down that rabbithole and many others with Python packages in the past 15 years).


thank you!! i had the same exact thoughts last night but refrained from commenting. same exact thoughts about pilots and surgeons.

plus this: pair programming has only been studied / proven to work in a teaching environment, where one student is literally teaching the other and bringing them up to speed.

i don't know of any study that proves that it works in a professional setting with experienced people having more or less the same background, working on the same task

if there is any study, i would like to read it.


thanks!!


> It's so tedious, repetitive, and obvious that I genuinely can't understand what people see in it.

same! but i finished it anyway. it was during my speed-reading / audiobook transition. i have now become a normal reader again :)

to your point though, in retrospect, i think it all depends on when in your life/career you read a recommended book. seems to me that by the time you got to how to win friends, you have already read a lot and learned most of the "obvious" things in the book.


sanic seems nice.

also, sqlalchemy is an over-engineered system imo. i only go for it when i have no other choices. otherwise i use a database client directly.


yeah, i mean where's the matrix like app that allows me to navigate computer systems and networks like they were some kind of physical thing?


infinite scrolling is very bad! especially on mobile because on mobile you can accidentally tap on a link or whatever while swipping. happens to me all the time with the youtube app!! infinite scroll needs to go away!


omg wow! when will people start being held accountable for the BS they put on twitter?!!


woah, woah, hold on. don't let him walk?! just use the old way for finding evidence. data gathered by companies like google is mostly permanent, too easy to retrieve, and in one place. that's the real problem. nobody likes doing hard work.


US police are fat and lazy. The days of a skilled gumshoe hitting the streets for information is a romanticized memory. The only time they get their blood pumping is when they get to use some new toys, kicking in a door guns blazing, shooting the family dog, killing innocents at the wrong address.


imo, python won because the community does not condone monkey-patching and dark magic tricks. it's totally possible, yes, but it is frown up. i just realized how important language communities are, actually!

i, unlike GP, do not get a smile on my face when i read ruby code full of implicit tricks. even when i understand some of them, it is still annoying.

why don't people just write clear, explicit, maintainable code instead of trying to be clever. i am sure method_missing could be implemented in python using various tricks but nobody, afaik, is doing that.


> I am sure method_missing could be implemented in python using various tricks but nobody, afaik, is doing that.

You could probably implement method_missing in Python using either __getattribute__ or __getattr__.

I think this is a small example of why nobody is doing so. It’s not just culture - Python’s object model is so complex that it would be hard to get right.

> why don't people just write clear, explicit, maintainable code instead of trying to be clever

But that’s boring. Seriously, it always amazes me how many programmers allow their decisions to be guided by what’s best for their personal enjoyment rather than what’s best for the project.


> It’s not just culture - Python’s object model is so complex that it would be hard to get right

Exactly! Python is flexible too... using module import hooks and AST transformations you can even implement common-lisp-style-macros... but the language and model is so darn messy and special-case-y that it would blow up in your face if you tried to use it in a real world project :|

Whereas in Ruby you can whip up a nice clean DSL in no time, and people can actually understand how it's implemented and read it's source without being gurus. Whereas the number of Python programmers who properly understand metaclasses and AST wrangling and other stuff you'd need to do DSL-like stuff and have it work correctly can be counted on not that many fingers...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: