Re: What is Expresiveness in a Computer Language?
Randy Howard wrote: > Keith Thompson wrote > (in article <[EMAIL PROTECTED]>): > > > >\/| |\| __\,,\ /,,/__ > > \||/ | | | jgs (__Y__) > > /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > > == > > Out of curiosity, does anyone remember who 'jgs' refers to > above? http://en.wikipedia.org/wiki/Joan_Stark Brian -- http://mail.python.org/mailman/listinfo/python-list
Re: Xah's edu corner: on Microsoft hatred
J|rgen Exner wrote: > Just for the records at Google et.al. in case someone stumbles across > Xah's masterpieces in the future: > Xah is very well known as the resident troll in many NGs and his > 'contributions' are less then useless. > > Best is to just ignore him. I already had him killfiled. I'm going to add a few of these non-comp.lang.c newsgroups as well, not due to any animosity towards them but because I don't read them and don't plan to, so any message crossed to them is likely a troll. A good newsreader and aggressive use of filtering is the best way to handle such people. Brian -- http://mail.python.org/mailman/listinfo/python-list
Re: function call overhead
The original message in this thread was posted with the intent to disrupt comp.lang.c by setting follow-ups there. Please either ignore this thread or change the distribution. Thanks, and sorry our troll has caused problems in your group. Brian -- http://mail.python.org/mailman/listinfo/python-list
Re: Should I Learn Python or Ruby next?
On Thu, Jun 24, 2010 at 02:53, Gregory Ewing wrote: > Jean-Michel Pichavant wrote: > > (that makes me think that Perl should be renamed as it outrageously share >> the same 1st character with Python). >> > > +1. I suggest CalcifiedMolluscSecretion. The very awkwardness > of that name will doom the language to the obscurity that it > deserves relative to the One True Language Whose Name Starts > With P. :-) > > -- > Greg > > -- > http://mail.python.org/mailman/listinfo/python-list > May I suggest that you read the Python license. Really read it. Then read the Ruby license. Really read it. Ask yourself, if I am just using either internally, and not distributing anything, does it matter which one I use? Then, ask yourself, if I am creating code to distribute, especially for commercial purposes, does it matter which one I use? Which would you be more willing to "bet the farm" on (or your house, your career, your food. etc.)? -- http://mail.python.org/mailman/listinfo/python-list
Python "why" questions
>From "the emperor's new clothes" department: 1) Why do Python lists start with element [0], instead of element [1]? "Common sense" would seem to suggest that lists should start with [1]. 2) In Python 3, why is print a function only, so that: print "Hello, World" is not okay, but it must be print("Hello, World") instead? (Yeah, I know: picky, picky . . . ) 3) In Python 3, why does 2.0 / 3.0 display as 0., but 8 * 3.57 displays as 28.56 (rounded off to 2 decimal places)? And yet, in Python 2.6, 8 * 3.57 displays as 28.559? And we wonder why kids don't want to learn to program. -- http://mail.python.org/mailman/listinfo/python-list
Re: Python "why" questions
Not to prolong a good "food fight", but IIRC, many years ago in QBasic, one could choose OPTION BASE 0 or OPTION BASE 1 to make arrays start with element [0] or element [1], respectively. Could such a feature be added to Python without significantly bloating the interpreter? Then, if starting with [0] "works for you", nothing really changes. And if starting with [1] "works for you", then you are not made to feel like a second-class citizen, and about as welcome as a dimwit at the Mensa meeting. Isn't Python supposed to be simple and accessible, and therefore fun? -- http://mail.python.org/mailman/listinfo/python-list
develop for Windows on GNU/Linux, using Python
Consider: Can someone do development of programs for use on Windows systems, but developed totally on a GNU/Linux system, using standard, contemporary 32 and / or 64-bit PC hardware? This would be for someone who can not or will not use Windows, but wants to create software for those who do. This might not include the use of VM for developing on GNU/Linux, as that would seem to require a Windows installation disk, which the developer may not be able or willing to obtain and use. Is the correct answer: 1) no. 2) yes. 3) yes, a "Hello World" program will run just fine on the Windows Python interpreter. 4) other. -- http://mail.python.org/mailman/listinfo/python-list
Re: develop for Windows on GNU/Linux, using Python
On Sun, Sep 19, 2010 at 14:31, J.O. Aho wrote: > Kev Dwyer wrote: > > On Sun, 19 Sep 2010 12:55:43 -0500, Default User wrote: > > > >> Consider: > >> > >> Can someone do development of programs for use on Windows systems, but > >> developed totally on a GNU/Linux system, using standard, contemporary 32 > >> and / or 64-bit PC hardware? > >> > >> This would be for someone who can not or will not use Windows, but wants > >> to create software for those who do. > >> > >> This might not include the use of VM for developing on GNU/Linux, as > >> that would seem to require a Windows installation disk, which the > >> developer may not be able or willing to obtain and use. > >> > >> Is the correct answer: > >> 1) no. > >> 2) yes. > >> 3) yes, a "Hello World" program will run just fine on the Windows Python > >> interpreter. > >> 4) other. > > > > Hello, > > > > The answer is "it depends", or 4 on your list of responses. > > > > You can write pure python on a Linux machine and it will run fine on > > Windows as long as you've taken care to program in a portable fashion. > > And not use modules not yet converted to microsoft, seems to happen from > time > to time. > > > > if you have C-extensions in > > your code you'll need to compile them over Windows. If you want to > > program against the Windows API you'll need access to a Windows box. > > You can always cross compile, not only over OS but even CPU architecture, > but > of course testing will be more difficult, on x86 based Linux you can use > wine > or similar to test, but can give you some differences to run on a native or > virtualized instance. > > > < sigh > . . . Well, that's about what I expected, unfortunately. But thanks for the honest replies. [OT] So what's the alternative -- use the end user's browser as an interpreter for JavaScript or HTML5? [/OT] -- > > //Aho > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list