5 ms·
I am always confused when people talk about the language itself. In my experience, python is used for Tensorflow, or Pandas, or Django, or Flask, or pytorch or
by inputcoffee 7y ago
I am always confused when people talk about the language itself.
In my experience, python is used for Tensorflow, or Pandas, or Django, or Flask, or pytorch or something else that runs on top of it. Sometimes it is even more specialized and I need a wrapper for an API to let me talk to some web data. Maybe I need a crawler/scraper and a parser. There is a specialized language on top of the language.
So when someone says, oh this language is better with objects, or has some syntax thing or the other, or I can reason about it I am left confused.
Its like if I were talking to a professional shoe designer and I ask for hiking boots and they tell me that they're really into having at least two tones to offset the lace and the heels or something.
What am I missing? I want to reason about the language too, but doesn't that pale in comparison to being able to run a specialized library?
- j88439h84 7y agoFlask equivalents exist in every language. Tensorflow bindings are available in many. Pandas is more specific to Python, but using dataframes in Python vs R vs Julia each has a different feel.
- inputcoffee 7y agoTrue, if we were talking about Data science, and you were bringing up Python or R or Julia, fair enough. But if you're talking about Racket, I would want to know what you can do with it. Does it have a data science library? A web app framework?
- j88439h84 7y agoSome task-language pairs work better than others, either because of the libraries or the language features or both. Libraries make Python better than Lisp for machine learning. Language features make Haskell better than Python for formal verification.
- kazinator 7y agoYou're missing that people write mountains of code in Python and similar languages; they are not always just for a small amount of glue to gain access to some specialized libraries.
- inputcoffee 7y agoWell, I assume people write mountains of code in the library. If you're making a machine learning product, that is still a lot of work. However, writing your own Tensorflow interface would take several human lifetimes to get it right, and Google already has provided it. So it seems that is not the part you would re-write no matter how good the language is.
- davidw 7y agoThe amount of code available, and its quality, is one aspect of a language's ecosystem that most people take into account when discussing its merits. It's quite possible to also discuss the language itself independently of how much code is available for it, while acknowledging that it's an important factor for many people.
- deleted 7y ago[deleted]
- kjeetgill 7y ago> In my experience, python is used for Tensorflow, or Pandas, or Django, or Flask, or pytorch or something else that runs on top of it. Is this your experience of using python or reading about it? I don't know your background so I apologize for making some assumptions about the source of your confusion. It sounds like you don't have a ton of experience programming, so let me start with a broadly: Python is a language in sense that English is a language, but these "something else that runs on top of it", are more like specialized vocabulary or jargon than "languages on top of the language". English gives you the grammar/structure/spelling to communicate; it's a foundation. But it also gives you general vocabulary; adjectives and adverbs blend and interact with any new vocabulary that might come into play. It doesn't matter if its a poem, or novel, or a technical documentation, or a text book, there is still a lot of English-ness to it. In the same way, Python as a language is still the substrate that each of those tools (Tensorflow, or Pandas, or Django, or Flask) are interacted with. I agree with what you're getting at, that maybe the tools are more important than the language. When people talk about their like for python the could talk about either: the language itself or the culture/ecosystem around the language. Some inherent to the language, so a quirk of it's history. This applies as much to natural language. You might hear someone love the sound of Spanish or French, or praise the regularity of Latin spelling, or love Greek for the wealth of ancient, influential texts that it gives access to. In the case of python you get a lot of praise from both angles. People love the language for it's ecosystem, sure; but also for how it does white spacing, its brevity, the specifics of its typing, where it does and dosn't need parentheses, REPLability, etc.
- inputcoffee 7y agoI am not offended that you think I may not program. That is fine. (I mean less than some, more than others. I have coded up the examples I brought up.) But you haven't responded to the argument. If someone urges you to use Racket, and you have task in front of you (say, put up a website), it sort of matters whether Racket has a framework more than if it has brackets, indents or curly braces.
- j88439h84 7y agoThere's a lot more to languages than block syntax, and pretty much every language has a web framework.
- philwelch 7y agoFlask and Django aren't really "specialized libraries" though.