News for hackers. Stuff that matters.
Re:Python is becoming the world’s most popular programming l... by firdak on Wednesday October 10, 2018 @07:26AM (#18183797)
Do you think a statically-typed language could ever be a "contender" - i.e. compete with Python in terms of ease-of-use etc?

Nowadays, I don't think any new, dynamically-typed language has a chance to become mainstream.

Re:Python is becoming the world’s most popular programming l... by scarface74 on Wednesday October 10, 2018 @08:50AM (#18184338)
The things I do in Python - mostly straightforward simple automation scripts around AWS - I would hate to do in my go to language C#. The overhead and ceremony of C# is not worth it. There are also no issues with a mismatch between what you think should be running based on what is in source control and what is running.
Re:Python is becoming the world’s most popular programming l... by firdak on Thursday October 11, 2018 @06:14AM (#18192223)
Static typing doesn't have to mean overhead and ceremony. Do you think you would, theoretically, enjoy writing scripts in a language like Crystal [1], which provides both the benefits of static typing and a scripting-language-like syntax?

[1] https://crystal-lang.org

Re:Python is becoming the world’s most popular programming l... by scarface74 on Thursday October 11, 2018 @08:46AM (#18193010)
It’s not just the language being statically typed, it’s also about the tooling around the language. Modern IDEs around mature static languages are s powerful.
Re:Python is becoming the world’s most popular programming l... by devxpy on Wednesday October 10, 2018 @07:50AM (#18183930)
Well I don't exactly see any attempts to do it..
Re:Python is becoming the world’s most popular programming l... by firdak on Thursday October 11, 2018 @06:17AM (#18192233)
What are your thoughts on Crystal [1], Nim [2] or even Go [3]?

[1] https://crystal-lang.org

[2] https://nim-lang.org

[3] https://golang.org

Re:Python is becoming the world’s most popular programming l... by devxpy on Saturday October 13, 2018 @04:04AM (#18206940)
I took a quick look at them and this is just first impressions, so bear with me?

They still look kinda low level to me. Yes, they provide a lot of high-level constructs and data types like python -- But what they fail to do (IMO) is a consistent abstraction.

For example, all of these languages have a concept of pointers. All of them have a distinction between different integers (int32, int64 etc..)

I had similar feelings when I used dart or even java. They're high level, but not quite!

I don't mean to thrash on these languages in any way. I think they have some real value for programmers.

It's just that I've never seen a language just throw everything out of your way and provide you with this extremely high level and easy to reason interface.

Nim actually looked pretty good, but then I realized it was just the significant whitesapce xD

Maybe I'm too biased because Python was my first (proper) language.

[deleted]
Re:Python is becoming the world’s most popular programming l... by LaGrange on Wednesday October 10, 2018 @07:48AM (#18183917)
Eh, web assembly is coming so that we can have a _proper_ mess in the browsers :)
Re:Python is becoming the world’s most popular programming l... by devxpy on Wednesday October 10, 2018 @08:01AM (#18184004)