Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48740
| References | <8a4fced2-7d6c-455e-a482-b6f95b806ab5@googlegroups.com> <42499468-5e16-4ee0-9820-d1069a6af1b6@googlegroups.com> <CAPM-O+yS9CbBVWNg06=RmtVE5biMywzYbW6BAMJUx9Frd0ZjKw@mail.gmail.com> |
|---|---|
| From | Joshua Landau <joshua.landau.ws@gmail.com> |
| Date | 2013-06-19 19:34 +0100 |
| Subject | Re: A Beginner's Doubt |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3595.1371666900.3114.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On 19 June 2013 17:39, Joel Goldstick <joel.goldstick@gmail.com> wrote: > What is the subject that this teacher of yours teaches? > Do you know anyone who has every done any programming? > Why python? One of those questions is too easy :P. But, no, I'd actually point out that Python might *not* be the best language for the job! *GASP!* *HERETIC* *I'M TELLING!* If you just want a GUI interface program, I'd recommend JavaScript. Heck, if you don't mind the compiler troubles I'd use CoffeeScript. "Why?!" You scream! Well, it's definitely not the language. The GUI toolkit, HTML, however, is ace for really small compatibility-don't-really-matter scripts. A couple old examples from before I "went Python" are attached, not to show off the somewhat lame code but just to point out that even as a new programmer these things were *concise*. That made them so many billions of times easier. <Beside the Point> Be careful not to mistake the libraries I used for the code I wrote, too. The amount of code *I* wrote for each numbers very few lines (just the main two html files). About half in total was HTML/CSS, so doesn't even count as code. I wrote these for me, so pretend they're licensed strictly. Anything I can give away I do, but it's best to check the licences anyway. Please note that if you don't run these in a modern Chrome/Chromium browser you'll have a bad time - I never bothered with compatibility. Also, apologies for snatching the coffeescript.org coffeescript - but I didn't want to mail a 60KB attachment. Instructions: Guessing the rules is part of the game. They're both thinking games, by the way. For Z-Rox clone, the inspiration is from http://www.kongregate.com/games/evildog/z-rox. <End Beside the Point> How is this relevant to you? Well, JQuery will make what you've written probably just couple of hundred lines. Forget about 2000! This isn't relevant if any of: 1) You have to use python 2) You don't want a silly web interface 3) Any other good reason See http://jqueryui.com/draggable/ for little examples.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A Beginner's Doubt augustofec@gmail.com - 2013-06-19 06:58 -0700
Re: A Beginner's Doubt Neil Cerutti <neilc@norwich.edu> - 2013-06-19 14:19 +0000
Re: A Beginner's Doubt Chris Angelico <rosuav@gmail.com> - 2013-06-20 00:20 +1000
Re: A Beginner's Doubt Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-19 08:31 -0700
Re: A Beginner's Doubt Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-19 12:39 -0400
Re: A Beginner's Doubt Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-19 19:34 +0100
Re: A Beginner's Doubt Chris Angelico <rosuav@gmail.com> - 2013-06-20 01:40 +1000
Re: A Beginner's Doubt Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-19 17:53 +0100
Re: A Beginner's Doubt rusi <rustompmody@gmail.com> - 2013-06-19 10:29 -0700
Re: A Beginner's Doubt Chris Angelico <rosuav@gmail.com> - 2013-06-20 03:01 +1000
Re: A Beginner's Doubt Terry Reedy <tjreedy@udel.edu> - 2013-06-19 13:57 -0400
Re: A Beginner's Doubt Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-19 12:25 -0700
Re: A Beginner's Doubt augustofec@gmail.com - 2013-06-21 04:31 -0700
csiph-web