noop

What do you think of Google's new programming language: Noop?

http://code.google.com/p/noop/ Noop (pronounced noh-awp, like the machine instruction) is a new language that attempts to blend the best lessons of languages old and new, while syntactically encouraging industry best-practices and discouraging the worst offenses. Noop is initially targeted to run on the Java Virtual Machine. What's...

What real purpose does $.noop() serve in jQuery 1.4?

Pouring over the release notes regarding jQuery 1.4, I came acrosss $.noop() which is: Description: An empty function. (added in 1.4) You can use this empty function when you wish to pass around a function that will do nothing. Perhaps I'm missing something profound here, but what exactly is a practical use of passing around a...

What's the purpose of `qt_noop`

I just found the existence of qt_noop() define in the qglobal.h as: inline void qt_noop() {} What's the point of it? ...

Does a no-op "do nothing" function object exist in C++(0x)?

I realize this is a ludicrous question for something that takes less than 2 seconds to implement. But I vaguely remember reading that one was introduced with the new standard. I grep'ed VC10's headers and came up with nothing. Can you help? It's bugging me! :) edit: On second thought, the new functor I was remembering was probably the ...

how to to do the "noop but return unit" in OCaml

Hello, just a fast hint: I want to print a list of strings and I was going to do it by pattern matching just to get into this powerful functionality, how can I express the "do-nothing-but-return-unit" operation? What I mean is let print_nodes nodes = match nodes with [] -> (* here i want to noop *) | s :: t -> print_string s;...