InfiniteSilence
- Website: perlmonks.org/?node_id=45622
- About: For me it is less about 'taking things back to Perl' than it is to move quickly around those guys moving neck-deep in quicksand.
Recent Actions
-
Commented on Who tests the tester? Me !!!
Base Classes For years I thought like this too about Perl inheritance but I have seen some examples where a kind of abstract base class was used that simply died if you did not override the methods. From Google's AI...
-
Commented on Who tests the tester? Me !!!
Oops, there is no 'edit' here where I could simply post an update but in the previous code there is an error regarding the constructor of FakeTuple that prevents the subclass from working properly. The following is the correction: FakeTuple.pm...
-
Commented on Who tests the tester? Me !!!
"...we do not have a native tuple type in Perl ..." And I don't think that we want one. When I ask the wonderful Google AI, "[what is] the relationship between abstract data types and object oriented programming," I get,...
Comment Threads
-
lichtkind commented on
Who tests the tester? Me !!!
If it works for you, good, but one of the reason why i started GTC is to show how its done more elegantly without inheritance. I strongly believe we have not yet found what object are capable since some techniques are heavily underused. in my understanding ADTs are just a crutch for a poor type system or lacking powerful enough interface feature.
Well and for testing in general you want something independent from the code you test. If for no other reason something you can drop at any place in your test suite without having to think: did i already tested the class I need to test this.…
-
lichtkind commented on
Who tests the tester? Me !!!
Well there is already an DCI-P3 implementation, it will be released with next version 2.1
-
lichtkind commented on
Who tests the tester? Me !!!
Well the reason why I abandoned inheritance and thus also base classes is because it introduces unnecessary friction on two ends: 1. You can not look into a class and know what is going, you have to hunt the right files and read them together. 2. Why use software and then fight against its design? It is better to design a class with its e…
-
Toby Inkster commented on
Who tests the tester? Me !!!
There is actually a native tuple type in Perl. It is used for the instances of classes defined by the new
classkeyword. Apart from that, the runtime doesn't expose any keywords/operators/etc for creating and manipulating tuples, but you can do so in XS code.
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.