473,320 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Py: a very dangerous language

It was 2a.m.... I was writing my first enterprise scale application in
Python.... the logic just flowed from my mind onto the keyboard and was
congealed into the most beautiful terse lines of code I had ever
seen...

It was 3a.m.... I knew I had to sleep.... work the next day or rather,
in a few hours.... but Python somehow brought out all the logic. All
the verbosity of my thought was purified into clean beautiful logic...

The Python was wringing the cruft out of my thought and letting me
generate wonderfully clean code.... I have to sleep... this is the last
line of code i'm writing...

It was 4a.m.... just one more def... then I'll sleep..

It was 5 a.m.... just one more class...I'll sleep now.. I've got to go
to work in a few hours....

It was 6 a.m.... just one more lambda...I'll really sleep
now...seriously... I've got to go to work in a few hours....

Python is a very dangerous language... It is addictive.. Once you start
coding, you simply can't stop.... No language has every made(allowed?)
me to think so clearly before.... This is madness.. I hardly every
sleep... I simply can't stop coding when I use Python....

This is scary... maybe I should switch back to Java: a language so
unwieldy that I'm driven away from the keyboard in disgusted
frustration....

I need to sleep.. but Python won't let me... Python is a dangerous
language....

Aug 1 '05 #1
11 1371
"yoda"
It was 6 a.m.... just one more lambda...I'll really sleep
now...seriously... I've got to go to work in a few hours....


I also love Python deeply, and really enjoyed the intense description of
your experience. One experience I won and wanna share with you: allways go
to bed exactly when you want to write the first lambda.

That has 2 benefits: you get sleep, and your programs less lambda.

Harald
Aug 1 '05 #2
Harald Massa wrote:
Always go to bed exactly when you want to write the first lambda.


Eureka. The Twentieth Pythonic Thesis has finally surfaced.

Peter

Aug 1 '05 #3

[Harald]
Always go to bed exactly when you want to write the first lambda.
[Peter] Eureka. The Twentieth Pythonic Thesis has finally surfaced.


+1 QOTW.

--
Richie Hindle
ri****@entrian.com

Aug 1 '05 #4
On Mon, 1 Aug 2005, Peter Otten wrote:
Harald Massa wrote:
Always go to bed exactly when you want to write the first lambda.


Eureka. The Twentieth Pythonic Thesis has finally surfaced.


So what does it mean that i do much of my programming in bed?

tom

--
non, scarecrow, forensics, rituals, bacteria, scientific instruments, ..
Aug 3 '05 #5
yoda wrote:
It was 2a.m.... I was writing my first enterprise scale application in
Python.... the logic just flowed from my mind onto the keyboard and was
congealed into the most beautiful terse lines of code I had ever
seen...

It was 3a.m.... I knew I had to sleep.... work the next day or rather,
in a few hours.... but Python somehow brought out all the logic. All
the verbosity of my thought was purified into clean beautiful logic...

The Python was wringing the cruft out of my thought and letting me
generate wonderfully clean code.... I have to sleep... this is the last
line of code i'm writing...

It was 4a.m.... just one more def... then I'll sleep..

It was 5 a.m.... just one more class...I'll sleep now.. I've got to go
to work in a few hours....

It was 6 a.m.... just one more lambda...I'll really sleep
now...seriously... I've got to go to work in a few hours....

Python is a very dangerous language... It is addictive.. Once you start
coding, you simply can't stop.... No language has every made(allowed?)
me to think so clearly before.... This is madness.. I hardly every
sleep... I simply can't stop coding when I use Python....

This is scary... maybe I should switch back to Java: a language so
unwieldy that I'm driven away from the keyboard in disgusted
frustration....

I need to sleep.. but Python won't let me... Python is a dangerous
language....


Well, Python does not cause sleeping problems for me. In fact it lets me
sleep pretty well, because it enables me to write HQ software - in contrast
to other languages that just cause ugly nightmare after reaching a certain
degree of complexity.

But Python is the only software in general that - after years of using it -
still makes me want to shout 'Python ist einfach nur geil!' (german, loosly
translated: 'Python simply kicks ass!') almost every time I dive into
something new.

The only thing that comes close to it is TDD (test driven development) - and
that's not a software product. Since I'm applying it, it greatly improved
the confidence in my code and generally increased the fun in programming.
And TDD also has its downsides: because you are dividing your work into
much smaller steps, each step finalized with a 'all tests passed - your
code works *exactly* as specified' (if you treat the testsuite as the
formal specification, which I do), then you are tempted to celebrate all
these small successes with a small reward. Baaad thing, if you smoke like I
do...

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
Aug 3 '05 #6
Well, I have no problems going to bed.
The problem is that while sleeping, I keep on coding in my head...
Sometimes I reach the "A ha!" state, then I wake up, turn on the my pc
and type the solution.
I'm a little bit worried though... I don't even have erotic dreams
anymore!

Aug 3 '05 #7

Luis M. Gonzalez wrote:
Well, I have no problems going to bed.
The problem is that while sleeping, I keep on coding in my head...
Sometimes I reach the "A ha!" state, then I wake up, turn on the my pc
and type the solution.
I'm a little bit worried though... I don't even have erotic dreams
anymore!


Ask your friendly neighborhood Freudian what dreams about
pythons represent.

Aug 3 '05 #8
Tom Anderson wrote:
On Mon, 1 Aug 2005, Peter Otten wrote:
Harald Massa wrote:
Always go to bed exactly when you want to write the first lambda.


Eureka. The Twentieth Pythonic Thesis has finally surfaced.


So what does it mean that i do much of my programming in bed?


You may want to discuss the implications with your therapist.
Ain't got one? Look here: http://www.jezuk.co.uk/cgi-bin/view/eliza

:-)
Peter

Aug 4 '05 #9
This is great!
It's absolutely useless, like a real therapist, but it's free!

Aug 5 '05 #10
Luis M. Gonzalez wrote:
This is great!
It's absolutely useless, like a real therapist, but it's free!


Never heard of Eliza? Even Emacs has it built in (Menu Help -> Emacs
Psychiatrist).

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
Aug 5 '05 #11
Benjamin Niemann <pi**@odahoda.de> writes:
Luis M. Gonzalez wrote:
This is great!
It's absolutely useless, like a real therapist, but it's free!


Never heard of Eliza? Even Emacs has it built in (Menu Help -> Emacs
Psychiatrist).


M-x psy<tab> return

Cheers,
mwh

--
Gullible editorial staff continues to post links to any and all
articles that vaguely criticize Linux in any way.
-- Reason #4 for quitting slashdot today, from
http://www.cs.washington.edu/homes/k.../slashdot.html
Aug 5 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

101
by: Bill Cunningham | last post by:
I read an article in a book about Perl and Common Gateway Interface and it mentioned C. It said that C could damage your computer. I don't know wether it meant the standard or compiler issuses. I...
302
by: Lee | last post by:
Hi Whenever I use the gets() function, the gnu c compiler gives a warning that it is dangerous to use gets(). Is this due to the possibility of array overflow? Is it correct that the program...
62
by: Juuso Hukkanen | last post by:
I am looking for a wish list of things which should be removed from the C (C99) - due to feature's bad security track record <OT>or Multithreading unsafety. I need this list for a project intending...
10
by: lovecreatesbea... | last post by:
C stops the conversion from (char **) to (const char **). c-faq.com sec 11.10 has explanation on this point. But, for example, even the conversion from (char *) to (const char *) brings the same...
126
by: jacob navia | last post by:
Buffer overflows are a fact of life, and, more specifically, a fact of C. All is not lost however. In the book "Value Range Analysis of C programs" Axel Simon tries to establish a...
233
by: Julian | last post by:
'evening. I'm not new to C and have been programming in it since I was 8 but here's a strange problem I've never seen before. When I compile a program from our C course with a windows compiler...
20
by: raylopez99 | last post by:
Took a look at all the fuss about "lambda expressions" from Jon Skeet's excellent book "C# in Depth". Jon has an example, reproduced below (excerpt) on lambda expressions. My n00b take: it's...
0
by: Pavel Minaev | last post by:
On Aug 14, 1:37 pm, raylopez99 <raylope...@yahoo.comwrote: You are, of course, entitled to your opinion, but lambdas are a part of C# 3.0, and any C# developer has to know their ins and outs if...
6
by: Ahmedhussain | last post by:
Hi there, I m doing work on a gridview and Im getting an error: A potentially dangerous Request.Form value was detected from the client (ctl00$Content$GridView1$ctl03$TextBox1="<span...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.