Hacker Newsnew | past | comments | ask | show | jobs | submit | smoofra's commentslogin

Why shouldn't google treat SEOs as criminals? A SEO's entire job is to prevent google's main product from functioning as intended. SEO is hardly better than spam as far as I'm concerned.


Haskell can do almost everything people generally use macros for without them. But there's always some things only macros can do, so for that you have template haskell.


As I understand it, if Haskell didn't already have syntax for

  let vars
  in expr
you wouldn't be able to use Template Haskell to create it from scratch. Any domain-specific languages you make have to mimic existing Haskell syntax.


Most people think macros are for "compacting" code, or factoring out common parts.

Macros are for introducing new control primitives, syntax and evaluation models into the language.


It's both, no? You can always write macroexpanded code by hand, only with much repetition, so in that sense macros are always compacting.

Except, I suppose, for perverse macros which expand into shorter code :)


It's for both, but utility functions also serve the same purpose (which is why you see people claiming they could do whatever Lisp macros do with function/methods/classes/monads/templates/makefiles, etc.) :-P


I loved Hit-A-Hint so much I forked it when the original devoper abandoned it.

http://elder-gods.org/lol


crackpottery


this is crackpotery


I'm reading this essay instead of working :-/


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

Search: