hygiene

Are insomnia, sleep debt, short sleep more prevalent among programmers ?

I know that some people are unable to function past a bedtime of, say, 10 or 11pm, and really need their 8 hours' sleep each night. I'm even married to someone like that. I'm at the opposite end of the spectrum - often up late, tending to wake up fully refreshed after 6 hours sleep, able to go by on less, used to pull all-nighters at th...

How do I write a hygienic Ruby mixin?

Say I'm writing a mixin module that adds functionality to a third-party class. Obviously some of the methods and instance variables I want to make accessible to the third-party class and its clients. These constitute the public interface of the mixin module. But I want certain other methods and instance variables to be encapsulated. I d...

Can someone explain the concept of 'hygiene' to me (I'm a scheme programmer)?

So... I'm new to scheme r6rs, and am learning macros. Can somebody explain to me what is meant by 'hygiene'? Thanks in advance. ...

How to make just part of a macro hygienic

I'd like to have a version of lambda, called lambda-r, from within which you can return. An example: (+ ((lambda-r () (return 1) 2)) 5) This would give the value 6. Although you might expect the value to be 7, it's 6 because 1 is returned from the lambda-expression before 2 is reached. Here's an example of the kind of transfo...

What is it about a single namespace that leads to unhygienic macros? (in LISP)

Some claim that a single namespace in LISP leads to unhygienic macros. http://community.schemewiki.org/?hygiene-versus-gensym http://www.nhplace.com/kent/Papers/Technical-Issues.html What precisely is it about having single, dual or multiple namespaces that leads to macro hygiene? ...