Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8444

Re: python 3 constant

References (4 earlier) <eszp4cvoh5fb.dlg@localhost.localdomain> <mailman.325.1308842981.1164.python-list@python.org> <ys2p9g87fwoo.dlg@localhost.localdomain> <mailman.343.1308866411.1164.python-list@python.org> <1p7xpf3clbhgc.dlg@localhost.localdomain>
Date 2011-06-25 20:59 +1000
Subject Re: python 3 constant
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.405.1308999565.1164.python-list@python.org> (permalink)

Show all headers | View raw


2011/6/25 Waldek M. <wm@localhost.localdomain>:
> Dnia Fri, 24 Jun 2011 08:00:06 +1000, Chris Angelico napisaƂ(a):
>>> Yup, got the sarcasm, that's for sure.
>>> But your point was...?
>>
>> That if you want something, there's usually a way to get it.
>> Sometimes, giving someone what they want - or showing them how to get
>> it - makes it obvious to them whether or not they really want it.
>>
>> Chris Angelico
>
> Usually, it does. But presenting me with a fake and
> obviously-not-logical-and-useful version of constants didn't really
> say anything about why is having constants such a bad idea :-)
> Just like presenting me with a rotten apple doesn't prove
> anything general about that fruit.

In all seriousness, sometimes adding features to one language is best
done by dropping to another. This is probably not as useful in
interpreted languages like Python, but I have on multiple occasions
run code through the C preprocessor as part of my compilation process,
as per my example.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python 3 constant sidRo <slacky2005@gmail.com> - 2011-06-22 11:54 -0700
  Re: python 3 constant Noah Hall <enalicho@gmail.com> - 2011-06-22 22:17 +0100
    Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-23 08:40 +0200
      Re: python 3 constant Ben Finney <ben+python@benfinney.id.au> - 2011-06-23 17:22 +1000
        Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-23 13:58 +0200
          Re: python 3 constant Ben Finney <ben+python@benfinney.id.au> - 2011-06-23 23:04 +1000
            Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-25 12:42 +0200
          Re: python 3 constant Chris Angelico <rosuav@gmail.com> - 2011-06-24 01:29 +1000
            Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-23 21:56 +0200
              Re: python 3 constant Chris Angelico <rosuav@gmail.com> - 2011-06-24 08:00 +1000
                Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-25 12:50 +0200
                Re: python 3 constant Chris Angelico <rosuav@gmail.com> - 2011-06-25 20:59 +1000
                Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-25 13:24 +0200
              Re: python 3 constant alex23 <wuwei23@gmail.com> - 2011-06-23 20:04 -0700
                Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-25 12:44 +0200

csiph-web