The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. March 14, 2010, 07:43:25 AM

Login with username, password and session length


Pages: 1 [2]
  Print  
Author Topic: Why Java (and almost every other programming language) sucks (lisp)  (Read 10388 times)
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 4859


DAMN YOU!!!!!!!


View Profile
« Reply #15 on: April 23, 2007, 11:24:41 AM »

I'm an OO man from the moment I get up in the morning.

im a bOOb man also.
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 7862



View Profile
« Reply #16 on: April 23, 2007, 11:33:23 AM »

Yeah baby!

Pink hat struts her stuff:



* minpch.jpg (4.32 KB, 130x160 - viewed 359 times.)
Logged

A wise man can learn more from a foolish question than a fool can learn from a wise answer. -Bruce Lee
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1499



View Profile
« Reply #17 on: April 24, 2007, 06:46:48 AM »

w00t
Logged

dirtdog1960to
Journeyman
***
Offline Offline

Posts: 51


View Profile
« Reply #18 on: April 24, 2007, 10:24:57 AM »

heh  Wink

you, not you individually but the Imperial You, programmers and language developers are in serious need of engineers. hmm prolly mechanical engineers.

added: hee thanks i type like a cabbage

you all need something  like a Carnot cycle and efficiency rating for languages imo
« Last Edit: April 24, 2007, 12:32:26 PM by dirtdog1960to » Logged
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1499



View Profile
« Reply #19 on: April 24, 2007, 11:34:21 AM »

imperative you? I don't think we're imperilled here...
Logged

lalalalala
n00b
*
Offline Offline

Posts: 1


View Profile
« Reply #20 on: May 31, 2009, 11:54:37 PM »

I can't believe it's been 2 years an nobody here has come up with this trivial implementation of the "counter" generator in Scheme:


 (define (counter n)
    (cons n (delay (counter (add1 n)))))
 (define next (compose force cdr))


You iterate over it like this:

  (let loop (c (counter 12))
     (print (car c))
     (loop (next c)))


The thing that this "counter" function returns is called a "stream" by Schemers.
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 7862



View Profile
« Reply #21 on: June 01, 2009, 02:37:45 PM »

Ding ding ding!

Exhumation of the month award!
Logged

A wise man can learn more from a foolish question than a fool can learn from a wise answer. -Bruce Lee
Pages: 1 [2]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!