Dear Python

Mar. 9th, 2010 12:14 am
pasithea: glowing girl (Default)
[personal profile] pasithea
Dear Python,

Everyone says you're great and I'd like to believe them. I'd like to ignore that you are dynamically typed like every language ever conceived of by a visual BASIC programmer, and I'd give you the benefit of the doubt on your Fortran-like indention weirdness and your stupid grammar in IF statements that isn't like any other c-like language around for really no good reason.

But seriously Python, I could forgive all that if you'd actually just f***ing work when I go to use you. But no. I do something with 2D arrays and you do something funky with copying memory here and there because you can't decide if you're pass by reference or pass by value. I have some fantasy about pickling some data and shipping it to memcached to get around a bad schema someone else made but no. Inexplicably I can pickle the data but not unpickle it. You have to be broken.

And you're constantly broken, Python. Sure the basic stuff more or less functions but I go to use something more complex and it's buggy, broken, or implemented in some weird half-assed way. You're a slacker language, Python. I've experienced less frustration debugging other people's PERL code to writing stuff in you. You are coy, seductive, seemingly simple and beautiful but it's all a lie isn't it Python? I should have known better than to trust a language that couldn't even keep consistent internal syntaxes.


No love,
me

Re: Here is how I do it

Date: 2010-03-09 06:04 pm (UTC)
From: [identity profile] dv-girl.livejournal.com
It's the unpickle of the data that's broken though.
If I cut out the memcached entirely and say

x=pickle.dumps(my_dict)
new_dict=pickle.loads(x)


The second line pukes for this library object.

February 2012

S M T W T F S
   1234
567891011
12 131415161718
19202122232425
26272829   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 31st, 2026 04:30 pm
Powered by Dreamwidth Studios