Earlier quoted context omitted.
To be fair elixir has slowly become more and more static over time, as in via convention and tooling.
Even at the language level, every single variable is a constant—the opposite of "hyper dynamic".
Python overtakes Java to become the second-most popular programming language
271–280 of 357 posts
Re: Python overtakes Java to become the second-most popular programming language
#272Earlier quoted context omitted.
Why would you make technical decisions based on what hyponthenictal new owners would prefer in a hyponthenictal acquisition in 5 years?
Because that's how founders make money. The vast majority of exits now are purchases by private equity firms, and they will do a thorough technical due diligence and look at those decisions and what it will take to run the company the way they want to. (I do those diligences for a living) If you're doing a tiny lifestyle company with no exit plan, you wouldn't. Which ironically, is exactly what I'm doing on my own ti…
Re: Python overtakes Java to become the second-most popular programming language
#273I was a total raving Python evangelist for the first 12 years of my coding career, and then got a job as the CTO for a Python based startup that had been running absent a technical leader for 5 years, with relatively junior coders making all the decisions. I still love Python, but I now have a completely different attitude to hyper-dynamic languages (like Python, Ruby, Clojure, Elixir, etc). In my new opinion, they a…
This has serious implications for how you develop large systems. Don't try to get too sophisticated on a larger or longer-lasting project. You'll have people on it who won't' be able to play at that level, and if you try to make them, they'll make a mess.
The same thing happens over time. Sure, your team is only 20 people... today. But if the program lives for three decades, how many people will work on it? 100? Will they all be superstars? Even those maintenance people you hire 20 years from now? Probably not.
Re: Python overtakes Java to become the second-most popular programming language
#274Earlier quoted context omitted.
I actually found it was untraceable side effects from imports and ability to monkey patch that was worse. Related to the typing, but not totally the same. I would pick something like Clojure or F# now to control that. Side effects and coupling.
Didn't realize that monkey patching wasn't only limited to Ruby.
Consequently, there was a big disincentive to monkeypatching.
Re: Python overtakes Java to become the second-most popular programming language
#275I don't know why in today's day and age people switch to Python, the python version bumps is such a wreck. Pip and Pipenv are 10 years behind the eco system. so many other better langs out there that are more uniform.
Because all ML and data tools are written by scientists in Python: PyTorch, TensorFlow
Re: Python overtakes Java to become the second-most popular programming language
#276Something else to consider is the Python shell at python.org/shell. Students often have Chromebooks. I'm about to mentor second year high school students who are interested in CS. Several of them have Chromebooks only. I can recommend Python and point them to the shell.
I would think Python got a good bump through Hour of Code and other programs to introduce people to coding.
Re: Python overtakes Java to become the second-most popular programming language
#277Earlier quoted context omitted.
Just about every larger company has an IT department where people write business or web applications. But not every larger company has people programming embedded systems. The TIOBE index simply does not reflect reality.
Every car, every industrial machine, every rocket, plane and tractor as well as the entire stack that your web applications run on in the cloud, the operating system, the infrastructure have significant parts written in C or C++. I think you need to take into account that the world of software extends beyond web applications and white collar services.
Re: Python overtakes Java to become the second-most popular programming language
#278Earlier quoted context omitted.
What makes you so certain it is far from #1 in web? Django is massively popular as is flask.
No estimate is perfect, but PHP is far and away #1 because of WordPress. Here are some stats that you could and should take with a grain of salt: https://w3techs.com/technologies/overview/programming_langua... My anecdata also says neither Django nor Flask are very populate. I have yet to encounter either one already in use by a client. Rails is also rare. I think scrappy startup frameworks are a different population…
Re: Python overtakes Java to become the second-most popular programming language
#279I was a total raving Python evangelist for the first 12 years of my coding career, and then got a job as the CTO for a Python based startup that had been running absent a technical leader for 5 years, with relatively junior coders making all the decisions. I still love Python, but I now have a completely different attitude to hyper-dynamic languages (like Python, Ruby, Clojure, Elixir, etc). In my new opinion, they a…
> Sure, this is a problem of people, not language. I don't think so. It is a problem of language. Or more specifically, of dynamically typed languages (DTL) vs/ statically typed ones (STL). We know for a fact now that DTL's simply don't scale to large code bases. And before dozens of people tell me there are a lot of large apps written in DTL, this doesn't mean it was a good idea in the first place nor that these lar…
We don't know that. This is not a fact.
Re: Python overtakes Java to become the second-most popular programming language
#280Earlier quoted context omitted.
I believe this is the example where dataclasses could have supported __slots__ better with a metaclass? Thanks for working on dataclasses :) - as I said, it's my #1 new feature in Python.
Maybe that would have worked better with a metaclass. But still, I think not using a metaclass is the more flexible design. Maybe I'll add the "add_slots" behavior into the @dataclass decorator in 3.10, even though it would need to return a new class. At least it could be well documented, and I doubt it's a concern for most people. > Thanks for working on dataclasses :) - as I said, it's my #1 new feature in Python.…