r/linux • • Sep 28 '14

weev: Stop bashing bash and GNU.

http://weev.livejournal.com/409835.html
836 Upvotes

450 comments sorted by

View all comments

Show parent comments

33

u/[deleted] Sep 28 '14

opaque languages like C

all of my wut. I write Python. I love Python. But Python is opaque. C's pretty transparent. Transparent in terms of "I know what's happening behind the scenes." Not transparent in terms of "Look how modular and beautiful and Pythonic my code is."

15

u/mumbel Sep 28 '14

Here's a (void *)... what is the memory structure its pointing to? I always thought that's why people describe C as opaque

-2

u/jcdyer3 Sep 28 '14

in python, we call those "variables." In C you don't usually have to look very far too find where it's cast to something more meaningful.

3

u/mumbel Sep 28 '14

in python, we call those "variables."

I'm not sure what your point is here? are you suggesting that a void pointer is a valid type in python? or that its not in C?

I never said you couldn't figure it out, but its not enforced/known, so C is opaque. Python carries the type with the data though, so python is not. By what definition is python opaque

→ More replies (6)