Re: You know you've been writing too much Clojure when...

2009-06-12 Thread Christophe Grand

You forgot to write return.

Paul Stadig a écrit :
 You meant to type disclosure, but instead you typed disclojure.

 Paul

 


-- 
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.blogspot.com/ (en)



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-12 Thread Luc Prefontaine
You get back into Java code and find it cumbersome, clunky, (add your
own) ... and wish you had written it in Clojure in the first place.
Then you realize that this code was written ... before Clojure was born.
Bouhouhou !!

Luc

On Fri, 2009-06-12 at 13:24 +0200, Christophe Grand wrote:

 You forgot to write return.
 
 Paul Stadig a écrit :
  You meant to type disclosure, but instead you typed disclojure.
 
  Paul
 
  
 
 

Luc Préfontaine

Armageddon was yesterday, today we have a real problem...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-12 Thread Luke VanderHart

Wow. I have seriously done most of these.

Leaving out return statements in javascript is the most insidious,
however, particularly since my JS coding style has become extremely
functional since learning Clojure.

-Luke

On Jun 12, 9:55 am, Luc Prefontaine lprefonta...@softaddicts.ca
wrote:
 You get back into Java code and find it cumbersome, clunky, (add your
 own) ... and wish you had written it in Clojure in the first place.
 Then you realize that this code was written ... before Clojure was born.
 Bouhouhou !!

 Luc

 On Fri, 2009-06-12 at 13:24 +0200, Christophe Grand wrote:
  You forgot to write return.

  Paul Stadig a écrit :
   You meant to type disclosure, but instead you typed disclojure.

   Paul

 Luc Préfontaine

 Armageddon was yesterday, today we have a real problem...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-09 Thread Sean Devlin

You're writing an email and

;Rich Hickey is a no good...

comment out a line instead of deleting it :)

(Fortunately I caught this before I hit send)

On Jun 4, 8:48 am, BrianS bstephen...@enclojure.org wrote:
 You see a license plate in front of you DEFN1A3F and you wonder what
 the function 1A3F would return...happened to me the other day.

 On May 29, 2:51 pm, Paul Stadig p...@stadig.name wrote:

  You meant to type disclosure, but instead you typed disclojure.

  Paul
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-04 Thread BrianS

You see a license plate in front of you DEFN1A3F and you wonder what
the function 1A3F would return...happened to me the other day.

On May 29, 2:51 pm, Paul Stadig p...@stadig.name wrote:
 You meant to type disclosure, but instead you typed disclojure.

 Paul
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-03 Thread Fogus

Question: You know you've been writing too much Clojure when...

(dorun Question)

-m


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-03 Thread Adrian Cuthbertson

 ... You know you've been writing too much Clojure when...

You see a cartoon swearword @^#!! and you think it's clojure meta-data!

-Adrian.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-03 Thread Laurent PETIT

2009/6/3 Adrian Cuthbertson adrian.cuthbert...@gmail.com:

 ... You know you've been writing too much Clojure when...

 You see a cartoon swearword @^#!! and you think it's clojure meta-data!

LOL ! :-)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread Michael Reid

On Fri, May 29, 2009 at 2:51 PM, Paul Stadig p...@stadig.name wrote:
 You meant to type disclosure, but instead you typed disclojure.

 Paul

How about when you try to write code in other languages, and
reflexively place parentheses before function/method names?

(len 'Foo') -- not valid Python. :(

/mike.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread Laurent PETIT

2009/6/2 Michael Reid kid.me...@gmail.com:

 On Fri, May 29, 2009 at 2:51 PM, Paul Stadig p...@stadig.name wrote:
 You meant to type disclosure, but instead you typed disclojure.

 Paul

 How about when you try to write code in other languages, and
 reflexively place parentheses before function/method names?

 (len 'Foo') -- not valid Python. :(

And when you're stuck with java, and have to implement the Visitor
design pattern yet again, instead of being able to use multimethods
:-( (that was my case the last two weeks !)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread Shawn Hoover
On Tue, Jun 2, 2009 at 9:52 AM, Michael Reid kid.me...@gmail.com wrote:


 On Fri, May 29, 2009 at 2:51 PM, Paul Stadig p...@stadig.name wrote:
  You meant to type disclosure, but instead you typed disclojure.
 
  Paul
 
 How about when you try to write code in other languages, and
 reflexively place parentheses before function/method names?

 (len 'Foo') -- not valid Python. :(

 /mike.


Don't forget, commas are NOT optional!

irb(main) a = [1 2 3]
SyntaxError: compile error!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread Paul Stadig
On Tue, Jun 2, 2009 at 10:06 AM, Shawn Hoover shawn.hoo...@gmail.comwrote:

 On Tue, Jun 2, 2009 at 9:52 AM, Michael Reid kid.me...@gmail.com wrote:

 On Fri, May 29, 2009 at 2:51 PM, Paul Stadig p...@stadig.name wrote:
  You meant to type disclosure, but instead you typed disclojure.
 
  Paul
 
 How about when you try to write code in other languages, and
 reflexively place parentheses before function/method names?

 (len 'Foo') -- not valid Python. :(

 /mike.


 Don't forget, commas are NOT optional!

 irb(main) a = [1 2 3]
 SyntaxError: compile error!


Hehe, yeah that one's gotten me before. :)

Paul

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread tmountain

Same here with the commas. Since I've been neck deep in Clojure, I've
been pathologically forgetting to add them with other languages.

On Jun 2, 10:06 am, Shawn Hoover shawn.hoo...@gmail.com wrote:
 On Tue, Jun 2, 2009 at 9:52 AM, Michael Reid kid.me...@gmail.com wrote:

  On Fri, May 29, 2009 at 2:51 PM, Paul Stadig p...@stadig.name wrote:
   You meant to type disclosure, but instead you typed disclojure.

   Paul

  How about when you try to write code in other languages, and
  reflexively place parentheses before function/method names?

  (len 'Foo') -- not valid Python. :(

  /mike.

 Don't forget, commas are NOT optional!

 irb(main) a = [1 2 3]
 SyntaxError: compile error!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread Stuart Halloway

People keep looking at me funny when I point out variables as code  
smells during code review...

Stu


 Same here with the commas. Since I've been neck deep in Clojure, I've
 been pathologically forgetting to add them with other languages.

 On Jun 2, 10:06 am, Shawn Hoover shawn.hoo...@gmail.com wrote:
 On Tue, Jun 2, 2009 at 9:52 AM, Michael Reid kid.me...@gmail.com  
 wrote:

 On Fri, May 29, 2009 at 2:51 PM, Paul Stadig p...@stadig.name  
 wrote:
 You meant to type disclosure, but instead you typed disclojure.

 Paul

 How about when you try to write code in other languages, and
 reflexively place parentheses before function/method names?

 (len 'Foo') -- not valid Python. :(

 /mike.

 Don't forget, commas are NOT optional!

 irb(main) a = [1 2 3]
 SyntaxError: compile error!
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread Max Suica

people in math discussions raise their eyebrow at my new comma-less
tuple and set notation:

(a_1 a_2 ... a_n a_(n+1) .. ) in R^|N|

{1 2 3 4 5} = {a in N+ | a  6}

Haskel hated it that time I wrote:

fold:: (b a b) b [a]

or

sum x y  zs = fold (+) 0 x:y:zs, where:

sum 1 2 3 4 5 6 7 = haskell compiler smacks yo momma.

And finally, in C, I caught this line before I tried to do anything
silly:

defmacro();

Cheers!
~max

On Jun 2, 11:27 am, Stuart Halloway stuart.hallo...@gmail.com wrote:
 People keep looking at me funny when I point out variables as code  
 smells during code review...

 Stu



  Same here with the commas. Since I've been neck deep in Clojure, I've
  been pathologically forgetting to add them with other languages.

  On Jun 2, 10:06 am, Shawn Hoover shawn.hoo...@gmail.com wrote:
  On Tue, Jun 2, 2009 at 9:52 AM, Michael Reid kid.me...@gmail.com  
  wrote:

  On Fri, May 29, 2009 at 2:51 PM, Paul Stadig p...@stadig.name  
  wrote:
  You meant to type disclosure, but instead you typed disclojure.

  Paul

  How about when you try to write code in other languages, and
  reflexively place parentheses before function/method names?

  (len 'Foo') -- not valid Python. :(

  /mike.

  Don't forget, commas are NOT optional!

  irb(main) a = [1 2 3]
  SyntaxError: compile error!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread CuppoJava

I now write all my Java code without any types... and then realize I
have to go back and add them in later.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: You know you've been writing too much Clojure when...

2009-06-02 Thread Richard Newman

 I now write all my Java code without any types... and then realize I
 have to go back and add them in later.

Heh, very often I allow the IDE to fill them in, because I'm too lazy
to type that much!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



You know you've been writing too much Clojure when...

2009-05-29 Thread Paul Stadig
You meant to type disclosure, but instead you typed disclojure.

Paul

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---