Why no 'use strict' in Python? Answer: PyChecker.
Grok Headline matches for Why no 'use strict' in Python? Answer: PyChecker.
Why no 'use strict' in Python?
Why no 'use strict' in Python?
03/06/2004 01:57 AM
Yesterday I had the opportunity to speak with Anders Hejlsberg, father
of both Turbo Pascal and C#. Of course I had to scratch my dynamic
language itch, so we talked some about that. The upshot is that Anders
believes compile-time type checking is valuable, but also thinks we
can (and probably should) use type inferencing to make static type
checking feel more dynamic.
...PyChecker 0.8.13
PyChecker 0.8.13
11/19/2003 01:34 AMA tool for finding common bugs in Python source code.
PyChecker
PyChecker
11/18/2003 11:18 PMNew Version 0.8.13!
'Use my 364-day calendar'
'Use my 364-day calendar'
01/05/2005 01:57 PMUS boffin with time on his hands
Python and XML: XML Namespaces Support
in Python Tools, Part Two
Python and XML: XML Namespaces Support
in Python Tools, Part Two
05/13/2004 07:55 PMIn his latest Python and XML column, Uche Ogbuji continues his tour of
XML namespaces support in Python tools, focusing this time on 4Suite.
Python and XML: XML Namespaces Support
in Python Tools, Part Three
Python and XML: XML Namespaces Support
in Python Tools, Part Three
06/30/2004 07:31 PMIn this month's Python and XML column Uche Ogbuji examines the
namespace support in ElementTree, PyRXPU, and libxml.
Backporting from Python 2.3 to Python
2.2
Backporting from Python 2.3 to Python
2.2
06/08/2004 11:18 PMWe have a home-grown templating system at work, which I
intend to dedicate an entry to some time in the future. We originally
wrote it in Python 2.2, but upgraded to Python 2.3 a while ago and
have since been evolving our code in that environment. Today I found a
need to load the most recent version of our templating system on to a
small, long neglected application that had been running the original
version ever since it had enough features to be usable.
Unfortunately, this application was running on a server
that only had Python 2.2. Installing Python 2.3 would have been
somewhat more painful here than on other servers we run for reasons I
won't go in to, so I decided to have a go at getting our current code
to run under the older Python version.
In the end, I only had to make three minor changes, all at
the top of the file in question.
I added from __future__ import
generators as the very first line of the file. We use
generators (with the yield statement) in a
few places - this feature was only properly added in Python 2.3, but
was made available in Python 2.2 as a "future enhancement" through the
aforementioned obscure import.
I added True, False = 1,
0 on the next line down. Surprisingly, Python 2.2 had no
support for a boolean type and instead used a test for non-zero
instead. The above line defines constants that behave enough like
Python 2.3's True and False to avoid any problems.
I defined an enumerate
function, which was introduced for real in Python 2.3. Here's the code
I used:
def enumerate(obj):
for i, item in zip(range(len(obj)), obj):
yield i, item
All in all it only took around ten minutes to put the
above together, after which the script worked just fine. It was
interesting to see how our code had grown to rely on Python 2.3
features without us realising it.
An Answer To "What is Mac OS X?"
An Answer To "What is Mac OS X?"
01/07/2004 02:38 PMXCube writes: "'What is Mac OS X?' is a fascinating article over at
KernelThread.com. According to Amit Singh it's a hacker-over-friendly
answer to that ...
The answer man
The answer man
03/17/2005 03:55 AMWhy DId You Answer If You Don't Know?
Why DId You Answer If You Don't Know?
06/03/2004 04:47 PMSeattle Post-Intelligencer newspaper has poll on whether readers have
used a wireless network or not: The most curious part about the
results to date isn't the fact that about half of respondents have
used a wireless connection to the Internet--which could include cell
data or even a cell phone's Internet features--but that about one
percent responded I don't know....
Ubiquity is the Answer
Ubiquity is the Answer
12/09/2003 03:52 PMA Cisco exec says that once Wi-Fi is available in more places, usage
will take off: With so many laptops being sold with built-in Wi-Fi,
users will have to feel like they can open their laptops anywhere and
get online. Once that happens, he expects a major change in the way
people think about work because we'll be able to work anywhere. I'm
not sure that's a good thing…...
Trying To Answer The What's Next
Question
Trying To Answer The What's Next
Question
05/07/2004 02:58 PMCNET's News.com has been publishing their well done series of articles
on offshoring this week, and have concluded with two that are worth
reading. The first isn't really a part of the series, but goes well
with it, explaining (again!) why
protectionist
plans don't work. This has been explained over and over again,
and there are countless examples of how protectionist policies cause
many more problems than they solve, but apparently, it needs to be
reviewed once more. The second piece is much more interesting. The
question that anti-offshoring people always bring up is "what other
jobs are there?" They're afraid that all jobs will be offshored and
then there will be nothing left (except, the example they love,
flipping burgers). Of course, history has shown that's not what
happens at all. The US was an agricultural economy for a long time,
and we shifted and it certainly made life very difficult for a lot of
people - but we innovated and created new jobs and a higher standard
of living. We've done so again and again and again. So News.com is
looking at
what
might be next. The problem, of course, is that it's difficult to
predict what really is next. So often disruptive advancements seem to
come from unexpected places. Researchers working on one thing
serendipitously discover a completely different breakthrough that
leads to an entire new industry. Of course, to put that all together
though, we need to support better education and push for more research
and development (which often isn't helped when companies only think in
the short term thanks to Wall Street). However, to prepare for
"what's next" we need to create a culture that involves constant
learning and education focused on useful areas of expertise - and not
so much on specific tactical expertise. Understanding how to make a
horse and buggy isn't useful - but understanding the basic concepts
concerning transportation is still useful no matter what mode of
transportation is used. Having that base of knowledge, with constant
additional training, let's someone work on buggies, automobiles,
trains, planes and whatever else comes next.
""Answer The Question! (mp3)""
""Answer The Question! (mp3)""
03/19/2003 10:44 PMansere (Answer)
ansere (Answer)
12/10/2003 03:05 PMGetting started !
An Answer To 'What is Mac OS X?'
An Answer To 'What is Mac OS X?'
01/07/2004 06:46 PMSlashdot Jan 7 2004 4:11PM ET
Marin Won't Take No for an Answer
Marin Won't Take No for an Answer
02/11/2004 05:44 AMThe breast cancer rate in California's Marin County is abnormaly high.
Experts say they know the culprit is not the environment, but
residents don't necessarily agree. By Kristen Philipkoski.
The Question Is the Answer
The Question Is the Answer
04/13/2005 08:28 PMBeagle To Answer Mom 's Call?
Beagle To Answer Mom 's Call?
12/27/2003 06:43 PMCBS News Dec 27 2003 5:38PM ET
Expert Answer Center
Expert Answer Center
07/12/2004 12:37 PMLarry Magid: PC Answer
Larry Magid: PC Answer
08/02/2004 01:44 PMCBS News Aug 2 2004 4:56PM GMT
Microsoft's answer to Linux
Microsoft's answer to Linux
02/01/2005 09:24 PMAnswer All Requests from your Website
Answer All Requests from your Website
02/01/2005 09:16 PM"...confess to having deleted some of these without responding. What
are the feelings on this? Must I answer them all even when I am
offering the material at no charge?"
Where Are Icelanders From? The Answer Is
in the Genes
Where Are Icelanders From? The Answer Is
in the Genes
12/28/2004 03:40 AMAt least until the last few decades, people in Iceland have tended
overwhelmingly to live, marry and die where they were born.
Net phone company's answer to 911
Net phone company's answer to 911
05/27/2004 01:43 PMWi-Fi phones answer the bell
Wi-Fi phones answer the bell
08/05/2004 08:58 AMZDNet Aug 5 2004 11:54AM GMT
"Dan Rather To Bush: Answer The
Questions"
"Dan Rather To Bush: Answer The
Questions"
09/16/2004 09:02 AMYou look for an answer as your question
waits.
You look for an answer as your question
waits.
08/31/2004 01:25 PM
F
ound: Hand in Bottle "No one is sure why, but
bottles
with photographic images of hands have been drifting onto the
shores of Clopper Lake in Seneca Creek State Park this summer."
(Pictures in the second link, about 1/3 of the way down the page.)
The answer to video piracy... not quite.
The answer to video piracy... not quite.
01/16/2004 01:00 PMWhile technology offers myriad promises, it also beckons us to
recreate the wheel from time to time.
Answer to the Ageless Debate
Answer to the Ageless Debate
05/14/2004 11:48 PMJANE PINCKARD -- Since the dawn of the computer age, man has wrestled
with the question: Macs or PCs? Taking a theological approach to the
thorny question is Alvin at Apple Catholic. God's command to love your
enemies also come to mind. Macs and PCs should work together, have
a...
The answer to video piracy?
The answer to video piracy?
01/11/2004 10:08 AMCNET Jan 11 2004 9:08AM ET
Would Somebody Answer that Thing? (PC
World)
Would Somebody Answer that Thing? (PC
World)
05/31/2004 05:33 AMPC World - Cell phones come alive with the ringing sounds of pop
music.
answer this ad's allegations
answer this ad's allegations
08/21/2004 10:43 PMthe second advertisement
swift2.he.net/~swift2/sellout.mpg
track this
site | 3 links
13-March-2003 -- The Answer
13-March-2003 -- The Answer
03/12/2003 09:11 PMThe Answer -- "Why does searching my PC for a file take several
minutes, yet searching for phrase in a...
"But the Captain has the answer to my
question."
"But the Captain has the answer to my
question."
09/20/2004 02:58 PMWireless Not Yet the Recommended Answer
Wireless Not Yet the Recommended Answer
01/02/2004 06:07 AMComputer Answer Man by Mark Kellner:
Computer Answer Man by Mark Kellner:
08/02/2004 06:42 AMJewish World Review Aug 2 2004 11:13AM GMT
Siebel, Vignette Answer PeopleSoft
Siebel, Vignette Answer PeopleSoft
05/20/2004 01:00 PMInternet News May 20 2004 5:12PM GMT
Shark Tank: Look for the simple answer?
What fun is that?
Shark Tank: Look for the simple answer?
What fun is that?
09/17/2004 11:38 PMComputerworld Sep 18 2004 4:19AM GMT
'I didn't know that!' is not the correct
answer, library officials say
'I didn't know that!' is not the correct
answer, library officials say
04/28/2004 11:51 AMChicago Tribune Apr 28 2004 3:34PM GMT
Grok Description matches for Why no 'use strict' in Python? Answer: PyChecker.
GrokA matches for Why no 'use strict' in Python? Answer: PyChecker.
Why no 'use strict' in Python? Answer: PyChecker.