News for hackers. Stuff that matters.
Re:Python has brought computer programming to a vast new aud... by throwaway5752 on Thursday July 19, 2018 @05:22PM (#17570400)
"Besides the odd gripe here and there, the language really gives me a warm glow."

That's a perfect summary of my feeling towards it, too. If the PSF puts up a GoFundMe for sending Guido on a nice vacation of his choosing, I will be happy to chip in a few bucks. Same goes for Linus when he hands over the reins, and a few other maintainers who probably cannot be adequately compensated for the impact of their work.

Re:Python has brought computer programming to a vast new aud... by stevesimmons on Thursday July 19, 2018 @08:21PM (#17571494)
I agree. I came to Python in 2000, after Perl (1996-1998), PHP (1999), Matlab (1992-1996), C++ (1990), Fortran (1989), C (1988), Pascal (1988), Assembly (1984-86) and Basic (1981-83).

After all those, I found Python, as the saying goes, really does "fit your brain" [1]. Since discovering Python 18 years ago, I have looked at Haskell, successfully avoided Java, and promised myself to "one day" do more JS. Still, Python remains 95% of what I do, and I don't see a problem with that :)

[1] "Python fits your brain" was the theme of the 9th International Python Convention in 2001.

Re:Python has brought computer programming to a vast new aud... by dorfsmay on Thursday July 19, 2018 @08:45PM (#17571607)
> "Python fits your brain"

For me, I find using python is like touching both data and code with my hands.

As much as it's trendy to bash Object Oriented languages, the way python allows to lookup all variables and method on a class or an object makes it like using your hands:

dir(MyClass) help(MyClass) dir(my_object) help(my_object)

etc...

Re:Python has brought computer programming to a vast new aud... by opnitro on Thursday July 19, 2018 @09:41PM (#17571825)
If you'd like to go further along that path, and I'd really recommend trying to learn a lisp. How to Design Programs[0] is good gentle introduction if you're new to the ideas of lisp or functional programming, and SICP[1][2] is the old classic.

[0] http://www.ccs.neu.edu/home/matthias/HtDP2e/index.html

[1] http://web.mit.edu/alexmv/6.037/sicp.pdf

[2]https://www.youtube.com/watch?v=2Op3QLzMgSY&list=PLE18841CAB...

Re:Python has brought computer programming to a vast new aud... by dorfsmay on Friday July 20, 2018 @01:00PM (#17576779)
Which one though?

I have looked at LISPs, but it's difficult to pick one to invest time in. Because I am so restricted on time I have to stick to languages which are used in the industry (so my fun has real-life ROI), which I think boils down to CL which is often touted as old-fashion and its market seems to shrink slowly, and Clojure which means the JVM and mainly Java libraries and high mem requirements.

For pure fun and practicality, Racket does seem up on the "list", but not used at all in the industry. A lot of languages (Python, Rust) are adopting the good parts of lisp (except for the minimal syntax, sadly), and I'm getting better mileage from spending time learning and becoming better at those than starting from scratch in a language that I won't be able to use during work hours.

Re:Python has brought computer programming to a vast new aud... by opnitro on Sunday July 22, 2018 @10:08AM (#17586811)
So, I really like How To Design Programs, because the thing it got across for me is how to appropriately think in a functional way. It walks you through building data structures and full programs in a really nice method. I've now been going through SICP, and nothing has seemed out of place as the notation is almost identical, and the few places that it isn't are not hard to translate.
Re:Python has brought computer programming to a vast new aud... by dorfsmay on Sunday July 22, 2018 @03:02PM (#17588257)
My question was more about which program language, which Lisp to choose in 2018?
Re:Python has brought computer programming to a vast new aud... by opnitro on Tuesday July 31, 2018 @08:42PM (#17658668)
Oh, so How To Design Programs uses "teaching" languages, which are sub-languages of Racket. Going from that book to learning the full features of Racket has been fun.
Re:Python has brought computer programming to a vast new aud... by vgy7ujm on Friday July 20, 2018 @08:19AM (#17574377)
Totally the other way around for me. Perl fits my brain. Python I can't comprehend.
Re:Python has brought computer programming to a vast new aud... by bb88 on Thursday July 19, 2018 @08:10PM (#17571459)
Ask Naomi Ceder who is the chair of the PSF. She's super nice.