On Mon, 2011-03-28 at 10:32 +0100, Rob Myers wrote:
> On 28/03/11 10:28, alex wrote:
> >
> > I think the worst error reporting I've seen is in processing,
>
> Processing doesn't have error reporting.
>
> It has Java compiler spew.
>
> Which pulls the rug out from any attempt to teach it as a simpler
> alternative to Java, I imagine, as you need to understand Java in order
> to explain Processing error messages.
Processing is a leaky abstraction of java:
"And all this means that paradoxically, even as we have higher and
higher level programming tools with better and better abstractions,
becoming a proficient programmer is getting harder and harder."
http://www.joelonsoftware.com/articles/LeakyAbstractions.html
> But it's still not as bad as the undefeated champion of error reporting
> suckage: C++ STL compilation errors.
error: initializing argument 1 of
'typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare
, typename _Alloc::rebind<_Key>::other>::size_type std::set<_Key, _
Compare, _Alloc>::erase(const _Key&) [with _Key = void*, _Compare =
std::less<void*>, _Alloc = std::allocator<void*>]'
cheers,
dave
Received on Mon Mar 28 2011 - 17:58:37 BST