The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. February 09, 2012, 07:34:33 PM

Login with username, password and session length


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

Posts: 5604


Back in my day we had 9 planets


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

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 9791



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 557 times.)
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



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

w00t
Logged

hai
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: 1669



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

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

hai
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

No links in signatures please
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 9791



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

Ding ding ding!

Exhumation of the month award!
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
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!