webdevRefinery Forum: Anyone playing with a LISP dialect? - webdevRefinery Forum

Jump to content

Think a topic deserves its own subforum?

Any topic that gets popular here will have a subforum made for it, as long as there are folks around who can answer questions! So if you think wdR is missing something, just talk about it here :)
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Rate Topic: -----

User is offline Kyek 

  • Founder of wdR
  • Group: Administrators
  • Posts: 5078
  • Joined: 20-February 10
  • LocationPhiladelphia, PA, USA
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 09 July 2012 - 09:37 PM (#1)

Anyone playing with a LISP dialect?


Clojure, Haskell, Scheme, etc?
I love Node.js. It is so much friggin fun to play with, and I'm extremely fortunate that I get to use it for the majority of my workday. But I come from the land of C++ and Java, so I've been itching for an asynchronous-by-design language with some stricter constructs. I don't necessarily need strict typing, per se, but if member functions didn't all double as constructors, hey, that'd be nice.

So I've been looking at some other options, because, while languages like Ruby and Python are nice and have event loop frameworks and all of that, they clearly weren't designed for asynchronous processing. But some of the articles I've been reading lately about Erlang and the Lisp variants and such were piquing my interest.

I started reading this Erlang primer and almost cried, the syntax was just so damn bad. I was all "It's the language of CouchDB and Riak! It MUST be good!" Well, maybe it is, but frankly I'm not spending that much of my day wanting to stab a knife through my eye.

So my next endeavor was Clojure, due in part to the fact that I'm a backer of Light Table. Originally I backed it because it's getting Javascript, but the preview "playground" that's out has Clojure built-in. And it's a lot of fun and pretty revolutionary, as IDEs go:
Posted Image

So I've started working my way through this Clojure primer and it's not too bad so far! The Lisp syntax is very very different, and granted, some of the "syntactic sugar" strikes me more as "syntactic capsaicin", but it's not so bad that I can't get used to it. And working with it in Light Table makes my mistakes instantly obvious.

I'm not anywhere near deep into it yet, but I thought it was worth asking if anyone here's ever played with any of these. I've heard good things about Haskell too, but with my Java background (Clojure compiles down into Java bytecode, so all the Java packages are available to you) and the fact that there's a ClojureScript compiler that will compile down to Javascript, this one seems like a good match for me. I'd love to hear your experiences, though!
0


User is offline Leamsi 

  • RoyLee KinsJen
  • Group: Members
  • Posts: 806
  • Joined: 18-March 10
  • LocationJonas Brothers Concerts

Posted 09 July 2012 - 09:55 PM (#2)

See, I was excited because I thought we were going to talk about speech impediments.
"Years ago I got addicted to this one drug, it made me feel happy and awesome. It was music." -Koen
Posted Image
(I admin this server, drop by, and ask for Ismael!)
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 704
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 09 July 2012 - 10:05 PM (#3)

View Postradioactive, on 09 July 2012 - 09:55 PM, said:

See, I was excited because I thought we were going to talk about speech impediments.

Same here, Kyek you disappointed me with this.
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline Kyek 

  • Founder of wdR
  • Group: Administrators
  • Posts: 5078
  • Joined: 20-February 10
  • LocationPhiladelphia, PA, USA
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 09 July 2012 - 10:14 PM (#4)

Thath mean, guys. I'm trying to have a theriuth converthation here. Clojure ith pretty thweet.
0


User is offline NeilHanlon 

  • Group: Members
  • Posts: 884
  • Joined: 08-July 10
  • LocationRowley, Massachusetts
  • Expertise:HTML,CSS,PHP,Java,Graphics

Posted 09 July 2012 - 10:16 PM (#5)

Posted Image
Thanks,
兄ニール

Website | Blog | @NeilHanlon | About.Me | Facebook | LinkedIn
0


User is offline Leamsi 

  • RoyLee KinsJen
  • Group: Members
  • Posts: 806
  • Joined: 18-March 10
  • LocationJonas Brothers Concerts

Posted 09 July 2012 - 10:20 PM (#6)

View PostKyek, on 09 July 2012 - 10:14 PM, said:

Thath mean, guys. I'm trying to have a theriuth converthation here. Clojure ith pretty thweet.

Ohh, iym Sorrahy, ill le-h you gef bach to dish.
"Years ago I got addicted to this one drug, it made me feel happy and awesome. It was music." -Koen
Posted Image
(I admin this server, drop by, and ask for Ismael!)
0


User is offline Daniel15 

  • dan.cx
  • Group: Moderators
  • Posts: 3415
  • Joined: 17-April 10
  • LocationMelbourne, Australia
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 09 July 2012 - 10:21 PM (#7)

It's something I've been meaning to play around with but haven't had time to.
Daniel15! :D
Posted Image

Repeat after me: jQuery is not JavaScript. It is not the answer to every JavaScript-related question. When you have to write some JavaScript, do not instantly react with "Oh, I'll do that with jQuery!"

Spoiler
0


User is offline Kyek 

  • Founder of wdR
  • Group: Administrators
  • Posts: 5078
  • Joined: 20-February 10
  • LocationPhiladelphia, PA, USA
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 09 July 2012 - 10:25 PM (#8)

View PostDaniel15, on 09 July 2012 - 10:21 PM, said:

It's something I've been meaning to play around with but haven't had time to.

I was sort of in the same boat, but I fell into it when I looked at light table and started screwing with the syntax. If you have five minutes, you can install it from the command line and start playing around without the hassle of setting up an environment and all that jazz. It's just a toy at this point, but it's awesome for following along with primers or just figuring the code out on your own :)
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 09 July 2012 - 11:14 PM (#9)

I use Haskell a bit. Primarly using Node.js as my functional language due to all the hype and thinking it might be the next rails.
Reserved.
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 704
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 10 July 2012 - 08:03 PM (#10)

Something I just learned, Light Table was a kickstarter project.
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline Kyek 

  • Founder of wdR
  • Group: Administrators
  • Posts: 5078
  • Joined: 20-February 10
  • LocationPhiladelphia, PA, USA
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 10 July 2012 - 08:33 PM (#11)

View PostKyek, on 09 July 2012 - 09:37 PM, said:

So my next endeavor was Clojure, due in part to the fact that I'm a backer of Light Table.

View Postitom07, on 10 July 2012 - 08:03 PM, said:

Something I just learned, Light Table was a kickstarter project.

Learned.. from me? xD
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 704
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 10 July 2012 - 08:48 PM (#12)

View PostKyek, on 10 July 2012 - 08:33 PM, said:

Learned.. from me? xD


Sorry to disappoint you kyek but I actually saw it on the successful projects page on kickstarter.

Oh and rails, I am glad you think node is the next rails but you should have changed your name to ThatNodeGuy and not TheEmpty...I may make that my name.
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 10 July 2012 - 09:22 PM (#13)

View Postitom07, on 10 July 2012 - 08:48 PM, said:

Sorry to disappoint you kyek but I actually saw it on the successful projects page on kickstarter.

Oh and rails, I am glad you think node is the next rails but you should have changed your name to ThatNodeGuy and not TheEmpty...I may make that my name.

But you're a designer not a developer :( TheEmpty is my original internet handle. I just changed it to ThatRailsGuy for temp. reasons and had to wait awhile to change it back.
Reserved.
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 704
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 10 July 2012 - 09:29 PM (#14)

View PostTheEmpty, on 10 July 2012 - 09:22 PM, said:

But you're a designer not a developer :( TheEmpty is my original internet handle. I just changed it to ThatRailsGuy for temp. reasons and had to wait awhile to change it back.

ThatGIFGuy umm no, I like to kinda jump around. Make sure my site is appealing and then work on serverside. Node is the first serverside language I have learned though. Started with pyton, wasnt fond of it. Moved to php said 'eh' and then found rails which I liked but wasn't experienced enough to learn. Time past, and Node became super hyped. Speaking of which I've been giving my site a face lift (insert drum roll here) Making it responsive, Adding media queries to adapt to screen size. Upping the resolution of images for retina devices. >>Stylus is very helpful with media queries inside of css blocks. Which compile out
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 10 July 2012 - 09:36 PM (#15)

Yeah I should do that once I figure out how to get my Node.js site to interact with a database.
Reserved.
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 704
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 10 July 2012 - 10:23 PM (#16)

Mongo?
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 10 July 2012 - 11:06 PM (#17)

View Postitom07, on 10 July 2012 - 10:23 PM, said:

Mongo?

I was hoping to use PostgreSQL but I'm either going to have to build my own Postgres model or checkout some of the Mongo libraries. I wanted to have multiple authors for my blog and for that to be relational, but I might just do it with Mongo even though that's not really what it's for. Also want to have clients and their data, which would be very Mongo-ie.
Reserved.
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 704
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 10 July 2012 - 11:12 PM (#18)

View PostTheEmpty, on 10 July 2012 - 11:06 PM, said:

I was hoping to use PostgreSQL but I'm either going to have to build my own Postgres model or checkout some of the Mongo libraries. I wanted to have multiple authors for my blog and for that to be relational, but I might just do it with Mongo even though that's not really what it's for. Also want to have clients and their data, which would be very Mongo-ie.

What is your blog about
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline Kyek 

  • Founder of wdR
  • Group: Administrators
  • Posts: 5078
  • Joined: 20-February 10
  • LocationPhiladelphia, PA, USA
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 11 July 2012 - 05:35 AM (#19)

Yo, wrong thread for that convo :)
0


User is offline gibbonweb 

  • 兄ヨハネス
  • Group: Members
  • Posts: 2061
  • Joined: 23-June 10
  • LocationMunich(DE)
  • Expertise:HTML,CSS,PHP,Javascript,Python,SQL,Graphics

Posted 11 July 2012 - 07:01 AM (#20)

Having only experience in C and related languages, functional languages tend to freak me out. Also, I normally don't really "get" them when I try to ... How can I fix that?
Also, why should I even care about functional programming? (no trolling/flaming intended, just a very direct, honest question ;) )
0


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

4 User(s) are reading this topic
0 members, 4 guests, 0 anonymous users


Enter your sign in name and password


Sign in options
  Or sign in with these services