#askFedi#fediHelp Is the following pattern known and does it have a name?
I have a number of classes (call them C1, C2, etc) that all derive from the same class B. I have a superclass (template, actually) D that derives from C1, C2 etc. To have a single B, the standard solution is to go with virtual inheritance to close the diamond (so far, so good).
🎤 Ready to take your public speaking skills to the next level? PyCon AU has your back!
Whether you're a Student, Educator, Graduate, or Professional, we want YOU! We're seeking talks from first-time or seasoned speakers, and we have a fantastic mentoring program to help your proposal shine.
Read more about it here: pycon.org.au/program/#mentors-and-feedback
I've just seen a #programming pattern in #PHP where a method could return two lists of things. Instead of doing that, it takes as a parameter a callable, and passes the two lists to the callable. Instead of:
[$a, $b] = getLists($param);
// Act on both lists.
we have:
$callable = function($a, $b) {
// Act on both lists
}
actOnLists($param, $callable);
Can anyone recommend some good programming blogs (in the realm of lisps, emacs, guix, technical deep dives) that offer RSS feeds? I've already got https://wingolog.org/ from @wingo which is pretty much the exact genre of blog I'm looking for. https://ianthehenry.com/posts/ from @ianthehenry is also a good one (although the RSS feed doesn't seem to work with GFeeds :).
I just think it would be cute to have a selection of RSS feeds to browse through :)