Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47834 > unrolled thread
| Started by | John Ladasky <john_ladasky@sbcglobal.net> |
|---|---|
| First post | 2013-06-12 12:46 -0700 |
| Last post | 2013-07-27 05:25 -0700 |
| Articles | 13 on this page of 33 — 20 participants |
Back to article view | Back to comp.lang.python
My son wants me to teach him Python John Ladasky <john_ladasky@sbcglobal.net> - 2013-06-12 12:46 -0700
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-13 06:02 +1000
Re: My son wants me to teach him Python John Ladasky <john_ladasky@sbcglobal.net> - 2013-06-12 15:07 -0700
Re: My son wants me to teach him Python Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-12 16:23 -0400
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-13 06:34 +1000
Re: My son wants me to teach him Python John Ladasky <john_ladasky@sbcglobal.net> - 2013-06-12 15:06 -0700
Re: My son wants me to teach him Python Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-12 16:22 -0600
Re: My son wants me to teach him Python Ethan Furman <ethan@stoneleaf.us> - 2013-06-12 14:31 -0700
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-13 09:34 +1000
Re: My son wants me to teach him Python Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-12 21:00 -0700
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-13 14:08 +1000
Re: My son wants me to teach him Python Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-12 21:47 -0700
Re: My son wants me to teach him Python Andrew Berg <robotsondrugs@gmail.com> - 2013-06-13 00:23 -0500
Re: My son wants me to teach him Python Modulok <modulok@gmail.com> - 2013-06-12 23:30 -0600
Re: My son wants me to teach him Python Ethan Furman <ethan@stoneleaf.us> - 2013-06-12 22:48 -0700
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-13 14:53 +1000
Re: My son wants me to teach him Python Cameron Simpson <cs@zip.com.au> - 2013-06-14 11:05 +1000
Re: My son wants me to teach him Python TP <wingusr@gmail.com> - 2013-06-13 01:35 -0700
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-13 18:43 +1000
Re: My son wants me to teach him Python rusi <rustompmody@gmail.com> - 2013-06-13 06:01 -0700
Re: My son wants me to teach him Python Roy Smith <roy@panix.com> - 2013-06-13 09:07 -0400
Re: My son wants me to teach him Python rusi <rustompmody@gmail.com> - 2013-06-13 06:37 -0700
Python biases [was Re: My son wants me to teach him Python] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-14 00:44 +0000
Re: Python biases [was Re: My son wants me to teach him Python] rusi <rustompmody@gmail.com> - 2013-06-13 20:31 -0700
Re: My son wants me to teach him Python Tomasz Rola <rtomek@ceti.pl> - 2013-06-13 17:37 +0200
Re: My son wants me to teach him Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-14 01:23 +0000
Re: My son wants me to teach him Python Ben Finney <ben+python@benfinney.id.au> - 2013-06-14 12:43 +1000
Re: My son wants me to teach him Python Ethan Furman <ethan@stoneleaf.us> - 2013-06-13 18:44 -0700
Re: My son wants me to teach him Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-14 20:00 -0400
Re: My son wants me to teach him Python Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-13 21:08 +0100
Re: My son wants me to teach him Python Mark Janssen <dreamingforward@gmail.com> - 2013-06-13 10:34 -0700
Re: My son wants me to teach him Python russ.pobox@gmail.com - 2013-06-13 12:03 -0700
Re: My son wants me to teach him Python aliencat777@gmail.com - 2013-07-27 05:25 -0700
Page 2 of 2 — ← Prev page 1 [2]
| From | Roy Smith <roy@panix.com> |
|---|---|
| Date | 2013-06-13 09:07 -0400 |
| Message-ID | <roy-B5076A.09075413062013@news.panix.com> |
| In reply to | #47954 |
In article <545a441b-0c2d-4b1e-82ae-024b011a400d@e1g2000pbo.googlegroups.com>, rusi <rustompmody@gmail.com> wrote: > Python is at least two things, a language and a culture. This is true of all languages. Hang out on the PHP, Ruby, Python, etc, forums and you quickly learn that the cultures are as different (or more so) than the languages. The same is true for the human race. The human race is what it is partly because of the DNA we mix-and-match every generation, but also because of the information we pass from brain to brain. Neither one tells the full story of what we are.
[toc] | [prev] | [next] | [standalone]
| From | rusi <rustompmody@gmail.com> |
|---|---|
| Date | 2013-06-13 06:37 -0700 |
| Message-ID | <33d775a9-6bfe-4e1d-b20b-dbac3975fdc8@ic1g2000pbb.googlegroups.com> |
| In reply to | #47957 |
On Jun 13, 6:07 pm, Roy Smith <r...@panix.com> wrote: > In article > <545a441b-0c2d-4b1e-82ae-024b011a4...@e1g2000pbo.googlegroups.com>, > > rusi <rustompm...@gmail.com> wrote: > > Python is at least two things, a language and a culture. > > This is true of all languages. Hang out on the PHP, Ruby, Python, etc, > forums and you quickly learn that the cultures are as different (or more > so) than the languages. Umm... Of course. I dont know though how that relates to the OP's question. So let me try state my point differently: Python-the-language has strengths that are undermined by the biases in the culture of Python. A father wanting to give his son the best may want to apply correcting anti-biases.
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-06-14 00:44 +0000 |
| Subject | Python biases [was Re: My son wants me to teach him Python] |
| Message-ID | <51ba675b$0$29997$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #47961 |
On Thu, 13 Jun 2013 06:37:34 -0700, rusi wrote: > Python-the-language has strengths that are undermined by the biases in > the culture of Python. This implies that there are strengths in Python-the-language which are not just missed or ignored by Python programmers immersed in the culture, but actively (if unconsciously) fought against. As someone immersed in that culture, and therefore at risk of being unaware of my biases, I am *very* curious as to what you think they are, and what strengths of Python you think I might be missing. -- Steven
[toc] | [prev] | [next] | [standalone]
| From | rusi <rustompmody@gmail.com> |
|---|---|
| Date | 2013-06-13 20:31 -0700 |
| Subject | Re: Python biases [was Re: My son wants me to teach him Python] |
| Message-ID | <f7207d5d-5698-487c-9e27-3ae64d698f65@g5g2000pbp.googlegroups.com> |
| In reply to | #48042 |
On Jun 14, 5:44 am, Steven D'Aprano <steve
+comp.lang.pyt...@pearwood.info> wrote:
> On Thu, 13 Jun 2013 06:37:34 -0700, rusi wrote:
> > Python-the-language has strengths that are undermined by the biases in
> > the culture of Python.
>
> This implies that there are strengths in Python-the-language which are
> not just missed or ignored by Python programmers immersed in the culture,
> but actively (if unconsciously) fought against.
>
> As someone immersed in that culture, and therefore at risk of being
> unaware of my biases, I am *very* curious as to what you think they are,
> and what strengths of Python you think I might be missing.
[This is more of an example than a full answer]
Lets say I have a 'kid' -- son, niece, student, whatever -- and for
some reason, we, both me and 'kid', feel its important to master
regular expressions.
Now regular expressions are there everywhere -- vi, emacs, perl,
python, awk, egrep, lex, ragel ... -- and so *technically* they are
quite orthogonal to the programming language issue.
Let us also assume that as a programming language, I definitely prefer
python over perl, in particular, REs in perl and python are more or
less equipotent.
However once we go beyond the technical basics of REs to a cultural
question -- asking more intricate questions on a forum -- I expect the
following to happen.
If (s)he asks an RE question on a perl forum I expect answers that are
cute, one-liner, zany etc but in a SE sense promote bad programming.
As a (cultural) rebound from that, when the same is asked on a python
forum, (s)he may get the hi-power RE answer. He is more more likely to
get a lecture on why REs are bad.
Now from a programming/SE angle, this is fine -- certainly writing an
ugly, buggy, inefficient RE where a few lines of beautiful soup (say)
would do better is poor practice. However lets remember that mastering
RE for its own sake is our agenda in addition to mastering
programming.
In short, I am not interested in perl for its own sake, yet the path
to RE-mastery in perl-culture is shorter.
So as guardian to my ward I have a simple evaluation to make:
"learn perl + python, learn REs in both, learn to translate REs across
the two"
is more or less work than
"Do everything in python"
Common sense suggests that the second is the less-work option.
Experience (may) suggest otherwise.
So much for my toy example. Now to more directly answer your question.
Here's Richard O'Keefe on the Erlang mailing list. Note particularly
the COBOL-Scheme reference.
-----------------------------------------
Once upon a time (about 1992ish) in a land where the moles
have beaks and swim and the deer jump on their hind legs
(Australia), a certain computer science department (RMIT)
decided that Pascal had reached its use-by date. What shall
we do? What shall we replace it with? Set up a committee!
I was on the committee. We set up a short list.
(1) Scheme.
Tiny language, amazingly capable, REPL so you can try
things out, implementations for all the machines we
cared about. And Rob Hagan at Monash had shown that
you could teach students more COBOL with one semester
of Scheme and one semester of COBOL than you could
with three semesters of COBOL.
(2) Miranda.
The commercial precursor of Haskell.
Melbourne University were also looking at this (or had
already switched to it) which would make it easier to
pick up some of their students.
(3) Ada.
Close enough to Pascal that our staff were comfortable with
it and our material would not need major revision.
A better Pascal than Pascal.
Handled concurrency about as nicely as an imperative language
can.
Personal Note:
For years Ive taught programming using two languages, one FPL, one
imperative language.
FPL one of {Miranda, Gofer, Scheme, Haskell}
Imp. Lang one of {Pascal, C, Python}
If I had to do it again (and had the choice!) I would evaluate the
sets again. I would not go from 2 to 1.
------------------------------
tl;dr:
The shortest route to mastery of programming in some chosen language,
say python, may be to learn a bunch of contrasting, competing
languages. Which others and how much, needs care and experience to
decide.
[toc] | [prev] | [next] | [standalone]
| From | Tomasz Rola <rtomek@ceti.pl> |
|---|---|
| Date | 2013-06-13 17:37 +0200 |
| Message-ID | <Pine.LNX.4.64.1306131725250.11512@tau.ceti.pl> |
| In reply to | #47954 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, 13 Jun 2013, rusi wrote: > On Jun 13, 12:46 am, John Ladasky <john_lada...@sbcglobal.net> wrote: > > Hi folks, > > > > My son is 17 years old. He just took a one-year course in web page > > design at his high school. HTML is worth knowing, I suppose, and I > > think he has also done a little Javascript. He has expressed an > > interest in eventually wanting to program 3D video games. [...] > > Some views of mine (controversial!). Not really :-) > > Python is at least two things, a language and a culture. > As a language its exceptionally dogma-neutral. > You can do OO or FP, throwaway one-off scripts or long-term system > building etc > > However as a culture it seems to prefer the OO style to the FP style. > This is unfortunate given that OO is on the down and FP is on a rise. > Some thoughts re OOP: http://blog.languager.org/2012/07/we-dont-need-no-ooooo-orientation-4.html > > So my suggestion is use some rigorous FPL like Haskell to learn/teach > programming. > After that you can switch to python or some other realistic language. If he (son) learns Haskell, he may as well stay with it, because it's quite decent lang as far as I can tell. And it's compiled, too. I would also consider Racket, which is a Scheme superset. It too, comes with compiler/JIT, plus IDE, plus libraries plus I understand examples from "Structure and Interpretation of Computer Programs", ( http://mitpress.mit.edu/sicp/ ) can be run on it. I have heard some folks are doing real life stuff with it, too and IDE might help beginner a lot (this one is very nice, not just magnified editor). > Note: I have some serious reservations regarding Haskell > http://blog.languager.org/2012/08/functional-programming-philosophical.html > Nevertheless it seems to be the best there is at the moment. Mee too! For this reason I am exploring Ocaml and SML. Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home ** ** directory. And then the C programmer became enlightened... ** ** ** ** Tomasz Rola mailto:tomasz_rola@bigfoot.com **
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-06-14 01:23 +0000 |
| Message-ID | <51ba708c$0$29997$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #47982 |
On Thu, 13 Jun 2013 17:37:34 +0200, Tomasz Rola wrote: > If he (son) learns Haskell, he may as well stay with it, because it's > quite decent lang as far as I can tell. And it's compiled, too. So is Python. > I would also consider Racket, which is a Scheme superset. It too, comes > with compiler/JIT, plus IDE, plus libraries plus I understand examples > from "Structure and Interpretation of Computer Programs", ( > http://mitpress.mit.edu/sicp/ ) can be run on it. I have heard some > folks are doing real life stuff with it, too and IDE might help beginner > a lot (this one is very nice, not just magnified editor). I consider IDEs to be an attractive nuisance. It's like learning to be a chef by putting food in a microwave and pushing the pre-set buttons. -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2013-06-14 12:43 +1000 |
| Message-ID | <mailman.3245.1371177816.3114.python-list@python.org> |
| In reply to | #48047 |
Steven D'Aprano <steve+comp.lang.python@pearwood.info> writes: > I consider IDEs to be an attractive nuisance. It's like learning to be a > chef by putting food in a microwave and pushing the pre-set buttons. +1 QotW -- \ “With Lisp or Forth, a master programmer has unlimited power | `\ and expressiveness. With Python, even a regular guy can reach | _o__) for the stars.” —Raymond Hettinger | Ben Finney
[toc] | [prev] | [next] | [standalone]
| From | Ethan Furman <ethan@stoneleaf.us> |
|---|---|
| Date | 2013-06-13 18:44 -0700 |
| Message-ID | <mailman.3244.1371177079.3114.python-list@python.org> |
| In reply to | #48047 |
On 06/13/2013 06:23 PM, Steven D'Aprano wrote: > > I consider IDEs to be an attractive nuisance. It's like learning to be a > chef by putting food in a microwave and pushing the pre-set buttons. +1 QOTW
[toc] | [prev] | [next] | [standalone]
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2013-06-14 20:00 -0400 |
| Message-ID | <mailman.3340.1371254461.3114.python-list@python.org> |
| In reply to | #48047 |
On 14 Jun 2013 01:23:24 GMT, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> declaimed the following in
gmane.comp.python.general:
>
> I consider IDEs to be an attractive nuisance. It's like learning to be a
> chef by putting food in a microwave and pushing the pre-set buttons.
Next up on Kitchen Nightmares... Python on the loose!
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
[toc] | [prev] | [next] | [standalone]
| From | Joshua Landau <joshua.landau.ws@gmail.com> |
|---|---|
| Date | 2013-06-13 21:08 +0100 |
| Message-ID | <mailman.3220.1371155778.3114.python-list@python.org> |
| In reply to | #47954 |
On 13 June 2013 14:01, rusi <rustompmody@gmail.com> wrote: > Some views of mine (controversial!). > > Python is at least two things, a language and a culture. > As a language its exceptionally dogma-neutral. > You can do OO or FP, throwaway one-off scripts or long-term system > building etc > > However as a culture it seems to prefer the OO style to the FP style. > This is unfortunate given that OO is on the down and FP is on a rise. > Some thoughts re OOP: http://blog.languager.org/2012/07/we-dont-need-no-ooooo-orientation-4.html > > So my suggestion is use some rigorous FPL like Haskell to learn/teach > programming. > After that you can switch to python or some other realistic language. Hey - Haskell is realistic [1]. > Note: I have some serious reservations regarding Haskell > http://blog.languager.org/2012/08/functional-programming-philosophical.html > Nevertheless it seems to be the best there is at the moment. > > tl;dr: Haskell is in 2013 what Pascal was in 1970 -- good for > programming pedagogy. > -- > http://mail.python.org/mailman/listinfo/python-list [1] http://xmonad.org/
[toc] | [prev] | [next] | [standalone]
| From | Mark Janssen <dreamingforward@gmail.com> |
|---|---|
| Date | 2013-06-13 10:34 -0700 |
| Message-ID | <mailman.3213.1371144900.3114.python-list@python.org> |
| In reply to | #47834 |
> Despite not want to RTFM as you say, you might set him in front of > VPython, type I totally forgot PyGame -- another likely source of self-motivated learning for a teen programmer. -- MarkJ Tacoma, Washington
[toc] | [prev] | [next] | [standalone]
| From | russ.pobox@gmail.com |
|---|---|
| Date | 2013-06-13 12:03 -0700 |
| Message-ID | <270de9d1-7f94-4a62-acb8-89e9a14588de@googlegroups.com> |
| In reply to | #47834 |
I couldn't read every post here so don't know if this has been suggested, or if there is perhaps a better suggestion which I haven't read in this thread, but in as far as I've read I feel the need to recommend: learnpythonthehardway.org Knowing a little JavaScript and even allot of HTML doesn't take him out of the total noob category when it comes to programming (did someone say game programming? Hold your horses!). I took a visual basic course (which I dropped out of admittedly after 3 months) and still knew absolutely nothing, which isn't necessarily just because I'm dumb. After eventually learning Python in incremental and sporadic episodes of free time, I did come across a few resources and by virtue of the frustration of having taken so long to learn to code in the easiest damn programming language to learn, I found myself scrutinizing allot of the tutorials I'd been passing by. I noticed developers.google.com somewhere up there. That's just a no no. Sorry. Maybe some of the people here are more than "pretty smart" but there's a good chance it'll be over his head at first, and at first is a bad place to be in over your head when you're learning the fundamentals. I also notice Invent with python. I personally would go for 2.x rather than 3 but that aside, for reasons I'm too tired to word, I didn't find it a good fit for me. I takes a "dive right in" approach and well, I never did learn to swim. Udacity was the third suggestion I noticed. This is also a no no. I completed the cs101 udacity course which I'm sure is the course in question here, and I loved it! Really I learn crap load from it, but at every step I asked myself, would this had helped if it was the first place I went to to learn to code? No. There were allot of gaps I noticed when looking from a complete beginners perspective and even though the course claims to has no prerequisites, I would have hated if I started with that. However that was last year and I think it was only a few months old, so it may be allot different now, I haven't checked. I read How to think like a computer scientist, A byte of python, and even the official docs. The only one I came across that made me say "&*#! why didn't I google that?" was learnpythonthehardway. I do think it depends a great deal on the individual, and for me personally, that style of learning was just it. For one you learn from the bottom up. It's a compulsion for some to know that that know a thing before they're brave enough to move forward. In cases where a "leap" is the only way forward, the tutor pulls you across that divide by your ankles. You feel a sense of obligation to take to his instruction. And above all, it greatly emphasizes the "learn by doing" approach, in small steps, not big projects that you end up completing just to get through it but don't learn much from. So that's my recommendation. But all that aside, my biggest point would be, just pick one do it. As you can see if you read that, my biggest flaw was simply the lack of devotion to one path. Game programming if he still wants to do that is another question entirely I feel. Fundamentals are fundamentals. The only variable is how long it might take him to get passed it. Even with Python, some people just never get it.
[toc] | [prev] | [next] | [standalone]
| From | aliencat777@gmail.com |
|---|---|
| Date | 2013-07-27 05:25 -0700 |
| Message-ID | <1c057f03-e11e-476c-8aeb-6d05c569fa80@googlegroups.com> |
| In reply to | #47834 |
Hi, I am an IT and Learning Research professor. I wrote a set of lessons that became a beginning programming book for my two sons. They loved it because is it was simple, hands on, and funny. It covers the basics of programming, introducing; software design, planning a game, making/getting free assets, version systems, and packaging. This course takes the beginner from ground zero to making arcade style games complete with sound, music, graphics, and an installation package in 21 lessons. It also includes vast resources in the index. It is called; "Start Here: Python 3x Programming Made Fun and Easier," and can be found at http://www.quantumsight.mobi or http://www.toonzcat.com/book.html This site also introduces graphics for web sites, animation, and games. J.S.G, PhD
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.python
csiph-web