Hacker News new | past | comments | ask | show | jobs | submit login

> This is very telling example of how differently Java people think.

Notice how the blog didn't even mention Java once and is talking about Clojure and defmacro, still you managed to imagine the article, an argument and respond to it. What more, your response is on the lines of "The earth goes around the sun" -> "Hah. No".

> First of all - ''this'' is NOT list comprehensions

This is list comprehension as in the accepted definition of list comprehension.

> Lisp has list comprehension, the sub-set of features that makes macros possible. Quote, back-quote, comma and grouping with parenthesis are parts of Lisp syntax to do it.

List comprehension doesn't mean whatever you want it to mean.

http://en.wikipedia.org/wiki/List_comprehension#Common_Lisp

> Look at it carefully. This is the how confusion looks like.

Look at this comment carefully. If you ever wondered how empty vessels make most noise, this is how it looks like. Without pointing out anything in the article which is wrong or can be improved, or without even giving out unrelated examples(that would have been something), this comment has shit all over it over some delusional sense of lisp programmers superior to Java programmers. It might have been a bit acceptable if the comment would have posted a clever lisp solution, or the blog would have had anything to do with Java at all.

> Thinking in terms of classes and methods prompts them to create artificial, unnecessary complications.

And again, imagine arguments and respond to them. Where on earth TFA mentioned classes and methods?

Also, this fucking hippy culture of "classes suck; functional programming rockz; lolz" need to die. What makes it more irritating is 99.999% of the times, the person singing the praises of lisp, functional programming et al. and trashing Java(there is a very high correlation) is a fucking moron and can't code to save his life, in lisp or any other language. Do a 100,000 lines project in Haskell, come back and then tell me how classes suck and this functional programming project of yours is so much better. Even then, that will be just personal anecdote, but currently, it's just incoherent, incompetent rambling.




  (define a 1)

  `(1 ,a)   ; this construction satisfies the definition of list comprehension
Everything else follows.

Next time try to add pointers to Assembly language.


> `(1 ,a) ; this construction satisfies the definition of list comprehension

How dense you have to be to conveniently ignore everything, imagine arguments, imagine counter arguments, post it, and keep repeating it?

How on earth (define a 1) and `(1, a) related? Do you understand scheme and what list comprehensions are? Or do you just dump "lisp, lisp, lisp, na da ...not listening...lisp, lisp" in response to everything?


there are a ways to create a list:

  '(1 2 3)
or

  ((lambda x x) 1 2 3)
or

  (defun list1 (&rest args) args)
This works because lisp expressions are lists, and the reader function uses list as an underling representation of lisp expressions.

   `(1 ,a)
This is a syntactic sugar to make construction of lists at read-time easily to express.

Read-time construction of lists is a feature of the language which gives us macros. Not the other way around.

Defining a macro for implementing a limited functionality a language can do, which consists of just a cond is a sign of inability to grasp what features are available and how to use them in appropriate way.

We don't need some macro for doing list comprehension, we have list comprehension to write macros.

This construct list-comp - is just ugly, because it is artificial and meaningless.

The habit of piling up crap without understanding, along with over-verbosity are a signs of a typical Java dev.

btw, using such kind of language against a Russian is a shortest way to a ProblemFactory)


> Defining a macro for implementing a limited functionality a language can do, which consists of just a cond is a sign of inability to grasp what features are available and how to use them in appropriate way.

Work on your reading comprehension, and comprehension in general. Every fucking language has fucktard ways of contructing lists. Constructing lists and list comprehensions aren't the same thing(I am a bit weirded out that I have to point it, but with someone as dense as you, there aren't any other options).

> btw, using such kind of language against a Russian is a shortest way to a ProblemFactory)

Everytime I think online forums have hit the rock bottom, and can't go any lower, some fucktard comes along and proves me wrong. Why don't you go fuck off somewhere where people might be impressed with your imaginary tales of bad-assery? Or find other morons on youtube or something and make shit up about how badass you are, instead of wasting my time here.

EDIT: Please tell me this russian bit is your idea of humor. The alternative is depressing.


Would you guys please stop this?


It surely is. Do google "culture of honor".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: