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


Groups > comp.lang.python > #70534

Re: Unicode in Python

From Ben Finney <ben@benfinney.id.au>
Subject Re: Unicode in Python
Date 2014-04-23 16:41 +1000
References <0f253434-5e7d-4eea-88e1-7997fec2bd2d@googlegroups.com> <53575521$0$11109$c3e8da3@news.astraweb.com> <CABicbJ+QsUs_tWtZ_XFfj-H7mYRywc9Hhwa0tWEsR2KDJC+yKQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.9456.1398235319.18130.python-list@python.org> (permalink)

Show all headers | View raw


Devin Jeanpierre <jeanpierreda@gmail.com> writes:

> But yes, typing out the special characters is annoying. I just use
> words.

I use words that describe the meaning, where feasible.

> The only downside to using words is, how do you specify capital
> versus lowercase letters?

Why do you need to, for an identifier? If uppercase gamma is
semantically different from lowercase gamma for identifying a value,
then both are too terse and the meaning should be spelled out in a
better chosen semantic name.

-- 
 \       “Some people have a problem, and they think “I know, I'll use |
  `\     Perl!”. Now they have some number of problems but they're not |
_o__)     sure whether it's a string or an integer.” —Benno Rice, 2011 |
Ben Finney

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


Thread

Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-22 22:31 -0700
  Re: Unicode in Python Chris Angelico <rosuav@gmail.com> - 2014-04-23 15:50 +1000
    Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-22 23:57 -0700
      Re: Unicode in Python Chris Angelico <rosuav@gmail.com> - 2014-04-23 17:06 +1000
      Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 07:29 +0000
      Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 07:53 +0000
        Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-23 10:59 -0700
          Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-26 00:15 -0700
            Re: Unicode in Python "Frank Millman" <frank@chagford.com> - 2014-04-26 09:45 +0200
            Re: Unicode in Python Ben Finney <ben@benfinney.id.au> - 2014-04-26 17:50 +1000
            Re: Unicode in Python Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-26 09:38 -0400
              Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-27 07:29 -0700
              Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-28 01:57 -0700
                Re: Unicode in Python random832@fastmail.us - 2014-05-01 13:21 -0400
                Re: Unicode in Python wxjmfauth@gmail.com - 2014-05-07 23:04 -0700
                Re: Unicode in Python Michael Torrie <torriem@gmail.com> - 2014-05-01 21:50 -0600
                Re: Unicode in Python wxjmfauth@gmail.com - 2014-05-03 00:46 -0700
          Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-27 10:39 -0700
  Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 05:52 +0000
    Re: Unicode in Python Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-04-22 23:19 -0700
    Re: Unicode in Python Ben Finney <ben@benfinney.id.au> - 2014-04-23 16:41 +1000

csiph-web