News for hackers. Stuff that matters.
Re:Foo, Bar, and Baz: Not Having It by Bootvis on Sunday April 22, 2012 @11:49AM (#3875099)
It's down for me, can someone paste the text?
Re:Foo, Bar, and Baz: Not Having It by abuzzooz on Sunday April 22, 2012 @12:02PM (#3875153)
Foo, Bar, and Baz: Not Having It

Posted on April 21, 2012 These placeholder variables are the worst thing to happen to language documentation in the modern era. And so there’ll be none of this on Lingua Pragma. I’ll illustrate the problem by demonstrating classes in ruby. Compare:

Example 1

class Dog def speak return 'woof' end end

class Dachshund < Dog end

fido = Dachshund.new fido.speak => 'woof' Example 2

class Foo def bar return 123 end end

class Baz < Foo end

qux = Baz.new qux.bar => 123 Which example conveys more information? Which is easier to quickly grasp? Which would you rather read?

The dog motif in Example 1 came to me because my GF asked me to write an app to simulate a pet salon. And I’d model the classes something like this.

Re:Foo, Bar, and Baz: Not Having It by Kwpolska on Sunday April 22, 2012 @11:56AM (#3875130)
Re:Foo, Bar, and Baz: Not Having It by okertanov on Sunday April 22, 2012 @12:02PM (#3875149)
These placeholder variables are the worst thing to happen to language documentation in the modern era. And so there’ll be none of this on Lingua Pragma. I’ll illustrate (meta-illustrate) the problem by demonstrating classes in ruby.

Example 1

class Dog def speak return 'woof' end end

class Dachshund < Dog end

fido = Dachshund.new fido.speak => 'woof' Example 2

class Foo def bar return 123 end end

class Baz < Foo end

qux = Baz.new qux.bar => 123 Which example conveys more information? Which is easier to quickly grasp? Which would you rather read?

Re:Foo, Bar, and Baz: Not Having It by dogweather on Sunday April 22, 2012 @12:12PM (#3875191)
...and it's back up, now that I switched to a slimmer Wordpress theme. Apparently, a Linode 1536 isn't quite enough to handle a basic Wordpress install getting Slash-dotted. (!)
Re:Foo, Bar, and Baz: Not Having It by zokier on Sunday April 22, 2012 @12:20PM (#3875215)
Caching is your friend.
Re:Foo, Bar, and Baz: Not Having It by kaichanvong on Sunday April 22, 2012 @11:50AM (#3875106)
Seems down for us all. mysql db issues. :|