Python has brought computer programming to a vast new audience
21–30 of 268 posts
Re: Python has brought computer programming to a vast new audience
#22Recently I released a package which allows you to dynamically create or change function signatures and went deep into `typing` and `inspect`, and found the experience rewarding.
Re: Python has brought computer programming to a vast new audience
#23Earlier quoted context omitted.
Can you explain implicit type conversions problems in python?
It is not a problem, it was just non expected behavior for someone trained in strong typed languages. For example, you want to calculate the performance of your ML algorithm by counting the correct predictions / total. My expectation was that the result of a division of integers, would be a float, specially if the modulo is not 0.
Re: Python has brought computer programming to a vast new audience
#24Earlier quoted context omitted.
Can you explain implicit type conversions problems in python?
It is not a problem, it was just non expected behavior for someone trained in strong typed languages. For example, you want to calculate the performance of your ML algorithm by counting the correct predictions / total. My expectation was that the result of a division of integers, would be a float, specially if the modulo is not 0.
Re: Python has brought computer programming to a vast new audience
#25Python is a great language to start programming in. My biggest frustration with traditional programming languages (well, C/Java mostly) was just how much upfront effort and understand is required to do useful stuff. Whereas with python it is pretty easy to whip up a script, read input and transform it into output in real time etc. That said, I think its also important for Python programmers to dabble at least a littl…
Re: Python has brought computer programming to a vast new audience
#26Python is a great language to start programming in. My biggest frustration with traditional programming languages (well, C/Java mostly) was just how much upfront effort and understand is required to do useful stuff. Whereas with python it is pretty easy to whip up a script, read input and transform it into output in real time etc. That said, I think its also important for Python programmers to dabble at least a littl…
Re: Python has brought computer programming to a vast new audience
#27The great advantage of Python is the vast amount of libraries out there for pretty much anything you can think of. As a C# developer that's the one thing, and probably the only, that I envy from Python.
I really dislike converting Python to a different language. What type is this? Go 5 libraries down to find out ;)
Re: Python has brought computer programming to a vast new audience
#28The great advantage of Python is the vast amount of libraries out there for pretty much anything you can think of. As a C# developer that's the one thing, and probably the only, that I envy from Python.
I remember one of the argument for Perl was exactly this: the vast number of libraries in CPAN. You would be able to do tasks much quicker because you would just need to install these libraries and go on with your tasks.
Still, I decided to go with Python because it made so many 'click' for me about programming in general + because of its REPL, among other things.
It turned out to be one of the best decisions I have ever made :).
Re: Python has brought computer programming to a vast new audience
#29For me it's somewhat strange that it is universally presented as a beginner's language. Python would be hugely confusing to me if I didn't keep the underlying C model -- dynamically allocated objects with reference counts -- in mind at all time. Together with a lot of protocol that is largely arbitrary.
I've been programming in both C and Python for years and never once have I had to consider reference counting in Python.
Re: Python has brought computer programming to a vast new audience
#30This seemed so unlikely that I thought the Economist had incorrectly used the Google Trends comparison tool, but they are right:
https://trends.google.com/trends/explore?geo=US&q=%2Fm%2F05z...
The gap is even bigger when you consider a worldwide audience (i.e. one less focused on American gossip):
https://trends.google.com/trends/explore?q=%2Fm%2F05z1_,%2Fm...