3 ms·
This article felt a little bit silly to me, Python intentionally is one of the easiest languages to use. And this article kind of argues it needs to get even ea
by offtop5 6y ago
This article felt a little bit silly to me, Python intentionally is one of the easiest languages to use. And this article kind of argues it needs to get even easier?
The only thing I can dream about is some type of typescript like version of Python with good old-fashioned type checking. I prefer C# and Flutter only because I really need types when my applications get larger.
- quibono 6y agoWhat about the typing module in py3? I now try to use it whenever I'm doing things in Python, it makes it a lot easier to orient yourself around a codebase.
- The_rationalist 6y agoMypy allow basic type checking
- londons_explore 6y ago> Python intentionally is one of the easiest languages to use. That was python 2... Python 3 is "growing up" and losing the simplicity and ease of use for complex hard to understand power-user features... It's the lifecycle of any language - see C++ which is 20 years ahead on the same curve...
- RHSeeger 6y agoHonestly, I don't recall any time at which C++ was intentionally easy to use.
- loopz 6y agoWith the right tooling and libraries, C++ could be both powerful and easy. Of course it means marrying a platform usually, of which there are many..
- londons_explore 6y agoI guess back in 1985, it was the easy to use version of C... It handles allocating and deallocating memory for you, keeping data and code together, a nicer way to write to the console, and other basic things. I think you have to look at it with 40-year-ago eyes to see it...
- offtop5 6y agoI disagree, I learned Python 3 and found it very very easy, even in a professional setting. If I need to knock out a script to format a CSV file, Python 3 is an easy and fast choice.
- tcbasche 6y agoA typescript-like version of Python is basically the latest version of Python with static-analysis tools like mypy or pyright
- BadInformatics 6y agoThe type system is a lot less sound and expressive than even TypeScript's though, so it doesn't quite offer the same level of security. I find any doesn't tend to stick around long when I use TypeScript, but my Python projects are full of cast()s and Pyright ignore comments. Typeshed is nowhere as comprehensive as DefinitelyTyped either, but that's more of a community building problem.