/* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. See
* http://sam.zoy.org/wtfpl/COPYING for more details. */
using System;
using System.Collections.Generic;
namespace Obliterator
{
public class Obliterator<T> : IDisposable
{
ICollection<T> collection;
List<T> toRemove;
public Obliterator(ICollection<T> collection)
{
this.collection = collection;
toRemove = new List<T>();
}
public void Remove (T item)
{
toRemove.Add(item);
}
public void Dispose()
{
foreach (var item in toRemove) collection.Remove(item);
}
}
public static class Obliterator
{
public static Obliterator<T> From <T> (ICollection<T> collection)
{
return new Obliterator<T> (collection);
}
}
}

You know there is a reason behind people still using e-mail (instead of instant messaging), and other people try pushing REST on us?

Well, e-mail and URLs work even on a connection which has a Big Lag. Or latency. You can write an e-mail now and check for the answer an hourlater.

And RESTful sites have the advantage of being cacheable (for read only, of course). So you can run httrack on them and browse them later, or better, put an HTTP cache server in your LAN.

In other words: did you know that the Moon is 384 thousands km away from us? That’s about 1.2 seconds for the light to travel..The distance of Mars from our planet has a minimum 55 millions of kilometers and a maximum of 376 millions.

Thats between 3 and 20 minutes “one way lag” ! Now let me tell you something while I clicked that AJAX combobox…

None of the Science-Fiction books I read featured “out in space” Internet .