« first day (1866 days earlier)      last day (3082 days later) » 

11:01 AM
Mixed feelings about it. Maybe because I can't think where I'd personally want to use it, but can think of ways people will use it, break stuff, then complain loudly. :P
 
Abe
@Leigh :P well, it's an extra feature. doesn't change normal php behavior
 
It's strange, I don't think I understand the use cases for it.
 
@Abe Sure, but it requires considerable care to use.
Especially when you cast to an ancestor and call a method that modifies properties, then continue using the child - expected values will be different, missing, wrong type, etc.
 
@Abe Cool. It's missing the why part though
 
@PeeHaa it's the first chapter?
 
11:10 AM
Missing the real world use cases. And this: $a = (A)$b; .. do you have an idea of how you'd make that work in the engine? I can't see it being pretty :P
 
@Abe your example in introduction seems to be broken?
class A{
    function getAVal(){ return '1'; }
    function method(){ return $this->getAVal(); }
}
class B extends A{
    function getBVal(){ return '2'; }
    // overriding:
    function method(){ return parent::method() . $this->getBVal(); }
}
function test(A $a1, A $a2){ // two A's
    // the following assertions *should* be valid
    assert($a1->getAVal() === $a2->getAVal());
    assert($instance->method() === $instance->method());
}
where is $instance coming from?
 
@FlorianMargaine That is what, not why
 
Abe
lol, @FlorianMargaine fixing it
wait @all
 
As in: provide use cases so people like me see why it would useful @FlorianMargaine @Abe
 
@Abe also, provide the current results
simpler...
 
Abe
11:12 AM
ok, will add more info
 
yeah it's not going to be a simple patch
 
Abe
@Leigh i think how it works currently in php is way more dangerous. imagine you have function test(A $a1, A $a2){} and you know that A is a class with one possible representation, unless it is final, you have no guarantee that its methods will return the same values
 
Why does overwriting a method break transistivity? Not a critique, just trying to grasp transistivity in OOP. (Learning something new every day etc. etc.)
 
@Leigh I have no idea what this discussion is about, but PHP can't use (A) cast syntax.
 
@NikiC duh :) @Abe is proposing introducing it ;)
 
11:15 AM
@Leigh @Abe Oh. Well, it's ambiguous. Is (A)($x) a call to function those name is stored in constant A, or is it a cast of $x to class A?
 
yeah I did mention the parser problem ...
 
@NikiC The proposal is a cast to class
 
I thought someone better at it might be able to get it right ... I think I tried this before ... pre-ast ...
 
Abe
@NikiC no idea about the syntax, i've just guessed how it could be
 
@Leigh Yes. And that's incompatible with current syntax. Right now that would be a function call.
 
11:17 AM
@Abe PHP 7 has return type hints declarations.
 
Abe
@Sean if new A('x') equals new A('x') then (A)new BextendsA('x') equals new A('x')
 
@NikiC Hey, it's not my proposal..
 
we could have a C++/PHP hybrid precisely_named_but_still_magic_cast<Type>($var)
 
@JoeWatkins Actually ... weak_cast<int>($str), strict_cast<int>($str) ...
 
yeah, I was trying humour, but I did have a point there somewhere ...
I quite like those ... it's the first thing I've seen that I can say "that's very PHP7" ...
 
11:19 AM
I don't like those ...
 
it's very PHP7 ...
what about just cast<>()
using declare()'d strictness
might step on the toes of generics
little bit ...
 
@JoeWatkins I might approve of that notation ... if cast were simply an ordinary generically specialized function
 
I think it would have to be ...
 
But introducing that kind of syntax without proper generics would be eigh
 
because things we don't have might be harder if we ever get them ...
 
11:21 AM
Another common notation is $x : A. Though that's usually more a type annotation than a cast
or $x as A
 
that's pretty php
I like the idea of being able to do what the thing provides, don't care about syntax ...
there'll be less resistance to a function surely
$thing as A is nice too, but am always wrong ...
 
Abe
but how about the parameters/return type?
function test((A) $a, (A) $a){}
that's the hardest part
 
couldn't it be the responsibility of the caller to cast ?
I think it should be ...
 
@JoeWatkins I just read the intro. I disagree with the premise ... completely
 
I skipped to the bottom, the code bits ...
you've never wanted to cast an object to another type ?
 
Abe
11:26 AM
@NikiC :( try to think about it, give it a chance...
 
terrible at remembering stuff, but, I've tried to do this before, that was probably for some reason ...
 
@JoeWatkins Nope. Not a single time
Or rather, only in the sense of doing a downcast. Which right now you do via a phpdoc annotation, which is of course not asserted
 
@NikiC I kinda like that one
 
@Abe Why not use an interface?
Or am I missing the point here? :)
ow the method overwrites ofc
 
Abe
11:40 AM
@PeeHaa same problem with interfaces. always the latest hashCode() defined will be used
 
Do you have an actual usecase I understand?
 
@Abe I find your first example (regarding C#) hard to believe. At least if we're talking virtual methods
Are you totally sure it works that way?
 
Abe
yes. wait @NikiC
using System;

public class A{
	public void testme(){
		Console.WriteLine('A');
	}
}

public class B : A{
	public new void testme(){ /* overrides */
		Console.WriteLine('B');
	}
}


public class Program{
	public static void Main(){
		Program x = new Program();
		x.callme(new B());
	}

	public void callme(A a){
		a.testme();
	}
}
try this in here dotnetfiddle.net
sorry couldn't save it without subscribing myself
 
@Abe Please use a virtual methods
 
Abe
so basically it's the reference type that determines which method should be called
 
11:43 AM
Methods in PHP are virtual. In C# they are non-virtual by default, if I remember correctly
 
yep ^
 
Warning count: checkstyle 22031 (+37) cpd 860 (+10) pmd 15154 (+24)
Well these new team-agreed standards clearly haven't been attended to in the last week. lol
 
Just curious, you don't have to answer. How many of you guys have a Mathematics degree of some kind?
 
Abe
@NikiC i don't get what you mean. i'm explaining my concerns regardless of the implementations
 
@WillParky93 Not maths related, just computing for me~
Not directly related, anyway.
 
11:46 AM
@Abe I mean, add a virtual on the method declaration and an override in the overriding declaration
 
@sean I'm not alone!
 
I'm pretty sure you'll get calls to the child method in both cases
 
Everyone in my office has some kind of maths degree
 
@WillParky93 I have no degree
 
@WillParky93 Haha, yeah I've known a few colleagues to come from pure maths backgrounds. Insane, the lot of them.
 
11:47 AM
@MadaraUchiha Happy new position (I mean is being a moderator)
 
@Shafizadeh Thanks :)
 
Abe
@NikiC even with virtual i get the same result
 
There's dozens of us!
 
Hey guys! anyone using PHPStorm or any other JetBrains IDE?
 
Abe
if the reference is A, then methods of A are called:
B stuff = new B();
A baz = (A)stuff;
baz.test(); // A::test(), even if it was overriden by B::test()
 
11:49 AM
@WillParky93 One of us. One of us.
 
@Abe I just tried it on that fiddle. You'll get B
 
Abe
@NikiC pastebin.com/bQ4sDGLs i'm getting A from this. what did i do wrong?
 
@Abe The second virtual new should be an override
@Abe Basically, what I'm trying to tell you is this: What you're describing has little to do with casting and a lot to do with virtual and non-virtual methods. In PHP (and Java) all methods are virtual. In C# (as it is a more performance conscious language) methods are non-virtual by default.
 
Abe
@NikiC are you also trying to tell me this is impossible to have in php? :D
 
@Abe more like impractical
 
Abe
11:53 AM
you know i know nothing about this kind of things, but still i can grasp this would be useful to have in php
 
I honestly see no other reason why C++ C# and others has non-virtual methods other than for performance (non-virtual methods can be resolved at compile-time while for virtual methods you have to keep a vtable that you use for resolving a method in the runtime)
 
78
Q: Why C# implements methods as non-virtual by default?

Burcu DoganUnlike Java, why does C# treat methods as non-virtual functions by default? Is it more likely to be a performance issue rather than other possible outcomes? I am reminded of reading a paragraph from Anders Hejlsberg about several advantages the existing architecture is bringing out. But, what a...

The argument is similar to the argument of making your classes final
Basically, prevent people from messing things up by extending things that ought not be extended
 
I see
 
Abe
yes, and that makes inheritance very little useful, in my opinion
 
@Abe I'm not really telling you anything, just trying to put things into context. Imho if you want something like this, then it should really be a property of the method (i.e. you should be able to mark a method as non-virtual). In which case both a normal typehint and and explicit cast would both be affected the same way.
But you're also right that doing this in PHP would be ... non-trivial :P
 
Abe
12:03 PM
i've imagined so :P
 
ARGH! DIARRHEA!
 
Abe
@NikiC looks so easy to achieve using reflection, aw
 
how to get lat,long from googlemapurl (google.com/maps/place/Church+of+Saint+Anthony/…) using PHP code?
 
@Maulikpatel : google.be/…
 
12:18 PM
@tereško several weeks ago you gave me a link of SO that I could run query in the real SO's tables. Can please give me that link again?
 
@Duikboot i need to get lat long which i given url google.com/maps/place/Church+of+Saint+Anthony/…
 
very good, thanks :-)
 
btw, did you finish the audiobook, that I gave you?
 
12:23 PM
yes! last month
I learned almost 250 new English words and also my ears were more familiar with English pronunciations
 
Abe
12:43 PM
apparently there's a huge desire to have non-virtual methods in java as well
 
1:16 PM
Morning
Someone can tell me the simple explanation about cannonical tag header?
 
@tereško Audio book?
 
Abe
@HendryTanaka you tell google and other search engines that "http://yoursite.org/listing?search=gunpowder&page=30" is the exact same url as "http://yoursite.org/listing?page=30&search=gunpowder"
 
1:36 PM
@Abe generally curious, what would be the big positive difference of this be?
 
Hi, I have question about writing extensions... Is it possible to create a trait in extension?
 
almost certainly....let me see if I can find the flag...
 
Abe
@GNi33 it makes more sense imho from an inheritance perspective, than virtuals
 
if all methods in Java a virtual by default, it wouldn't make a difference to the programmer, right?
 
Abe
@GNi33 github.com/WesNetmo/php-object-reference-casting-rfc/blob/… read this, there is some reasoning here
 
1:39 PM
great, thanks!
 
Abe
there are virtual only in java, non virtual would be better
 
@AurimasNiekis I can't see any use of it, but the flag is ZEND_ACC_TRAIT and it needs to be set for class_entry->ce_flags. I presume.
i.e.
 
@Danack I tried it with php-cpp but I get seg fault...
 
ext_some_class->ce_flags |= ZEND_ACC_TRAIT;
Have you opened an issue on their issue tracker?
 
Yeah about trait implementation :) I just tried to hack it a little bit to get traits working as traits are not implemented
I assigned this flag but as I said when I access method from trait I get segfault... I am thinking maybe something with method binding is different on traits?
I could not find any single extension which provides trait to see how they implement it that's why I am asking :)
 
1:47 PM
> std::cout << "myMethod is called for object " << _x << std::endl;
@AurimasNiekis If you were writing your own extension, I could help you.....but if you're using PHP-CPP you're going to need to get it investigated through that.
 
@Danack yeah I could try to write plain extension but i do not see any kind boilerplate for it so I choose php-cpp
@Danack also thanks for tip, but method is not called at all
yeah in plain extension it works :D
 
2:04 PM
 
Abe
2:22 PM
the space is big. very cool, much scrolling
 
@ScottArciszewski now that kinda escalated :P
 
is anyone against the streams-is-cacheable RFC for some reason?
 
good morning
 
good morning!
 
good morning
 
Abe
2:33 PM
\o
 
o/
Is anyone here using an automated UML tool that shows all doctrine entities and their relations?
 
@Abe that's actually pretty nice, I started scrolling but then I just let it play on 'lightspeed' :P
 
Abe
light speed is so slow though :P
 
Yeah I know, but it's better than manually scrolling :P
 
@Patrick you can use pulpo18.com or the commercial version skipper18.com . I also wrote something that is part of DoctrineModule: stackoverflow.com/a/14574952/347063
 
2:45 PM
@Patrick PHPStorm is useful in this regard
DB schema-wise (as entities map this way obv)
 
@Ocramius Thanks, will have a look
 
@Abe It just makes you realise how small we actually are...
 
Abe
yep...
 
@Jimbo It should run in the browser
 
@Jimbo don't look at the table ER for that - it will just confuse you :-\
 
2:48 PM
@Ocramius Am I seeing this right? pulpo visualizes the existing entities and skipper allows modifying?
 
@Patrick correct
not a fan of skipper, but I used it and my dev team liked it at the time
even just for viewing and re-organizing the graph
 
Abe
> private static $singleton; // shit just got real
 
the other tool I wrote generates a YUML string, which could actually be ported to something graphviz-compliant (but nobody did that so far)
if you get down the road of doing it via PHP/SVG/whatever, please do take that and make it a lib :P
 
pulpo looks perfect. We just need some visualization of the entities to make dev/planning etc easier
 
@Ocramius YUML, like... YAML?
 
2:51 PM
Do checkers such as PHPMD or PHP checkstyle take less time to check on systems with less.. issues?
 
@Jimbo no
@Jimbo yuml.me
 
:D
 
Say if I had 100 files riddled with problems vs 100 files that are clean according the the defined rules, would the latter take significantly less time to process?
 
@Sean no, depends on the size of the codebase only
 
Would have thought so!
 
2:56 PM
@Ocramius Fuck off seriously :P cc @Jimbo
 
hehe
 
@PeeHaa you too :P
 
@Ocramius :-D
 
posted on November 25, 2015 by nlecointre

/* by LeStagiaireCestMoi */

 
@DaveRandom you available?
 
3:17 PM
@Sean btw you're setting yourself up to fail imho. If it's possible for badly formatted code to get into the VCS, then badly formatted code will get into the VCS. Rather than trying to get people to agree and then follow some coding standards, you would be better off just fixing one issue at a time in the code base, and installing adding a pre-commit hook to check for the issues that have already been fixed.
to prevent new code from being committed with each issue, as that issue is removed from the code base. As well as performing the check in CI, to report any cases where someone has 'accidentally' disabled the pre-commit hook.
And when I say fix one issue at a time, I mean like just go through the whole code base and fix all the 'no white space at end of line' issues in one go, and then turn on the 'no white space at end of lines' detection.
 
mooooornings11
 
// Cool Class Diagram
[Customer|-forname:string;surname:string|doShiz()]<>-orders*>[Order]
[Order]++-0..*>[LineItem]
[Order]-[note:Aggregate root{bg:wheat}]
 
@RonniSkansing Hola
 
3:26 PM
No, but perhaps a new keyboard for you will arrive
 
@HassanAlthaf Nope, RC8, but it's already tagged now.
 
@PeeHaa \o/ I love getting off work!
yay
 
@ircmaxell Since you've authored PHPPHP, you might appreciate:
 
@Danack Thanks for the advice! Where would the pre-commit hook go? On everyone who uses the repo's local copy?
 
3:39 PM
Yes it needs to be setup for everyone, with git that is just putting the script in the pre-commit hooks folder. And then the CI does it again and you get to shout at people express how let down you feel, if any 'accidentally' disables it.
 
@Danack seems like we're all leaving Brizzle - @asgrim also going back south
 
@Ocramius the project ended or he just had enough of the rock and roll lifestyle?
 
enuff is enuff :P
 
@Ocramius presumably Mr Passive Aggressive server admin guy is still there?
 
I think so, yes :D
 
3:44 PM
Coincidence_I_THINK_NOT.jpg
 
@Danack fair point @Danack. I'm not exactly sure of the context myself. I think I'm making efforts, to some degree of success, to not be that crazy person anymore, but I may still have some misplaced sympathy towards them. (also 'morning and sorry for barging in)
 
it's cool, this chat is explicitly designed for inline-multi threading.
 
Just double checking inheritance over here. A implements I. B extends A. Does $instaceOfB instanceof I resolve as true?
 
@Sean yes.
 
@Sean yes, because LSP
 
3:48 PM
@FélixGagnon-Grenier This is actually something that is worth discussing.....and something that I think well-meaning people get wrong. It's actually not worth that much time trying to make stuff idiot* proof - instead it's much more productive to make tools that can be dangerous to use, but allow people who use them correctly to do clever stuff.
 
Thank you!
 
For example there is a discussion on internals about adding 'taint' to PHP core, because some programmers are too stupid to be trusted.......while that may be true, adding a whole load of complexity and slowing stuff down, for stuff that only benefits those dumb people is not a great benefit imo.
 
If the idiot-proofing* would limit what people can do with the tool, yeah sure.
 
*Ellington's First Law of software design: "You can make it foolproof, but you can't make it cunt-proof."
 
3:52 PM
lol....
Well, I'm assuredly not in favor of slowing an engine down for added safeguarding
But when considering a change that would not slow things down, I still wonder as to the validity of "but nobody does that" as a reason not to. I've no strong idea about it.
(so that would be taint? github.com/laruence/taint)
 
yes.
> Warning: main() [function.echo]: Attempt to print a string that might be tainted
That would get tediously annoying really quickly.
 
agreed
 
@Danack then stop messing around and learn how to do things properly
 
lol
"haxed?? but I remove all the taint!"
 
The biggest problem with taint IMO: There's no way to automatically detect all potential vulnerabilities, but by using taint people will assume they are covered if it doesn't issue any warnings. Taint would just make the problem worse.
 
4:04 PM
taint checking should probably go in an external static analysis tool
 
@Orangepill This. Analyze it statically, not at runtime.
 
php --report-stupid-things-i-done-did -vv
2
 
Error: output buffer overflow
 
:-D
 
4:07 PM
@ircmaxell Just going to point out, that for the last about 10 times you've directed a message at me, it's when you're jumping into a conversation just to give me shit. Strangely enough it's not giving me a warm and fuzzy feeling.
 
I've been using property/const list declarations more and more:
    protected
        /**
         * @type SplFileInfo
         */
        $fileMeta,
        /**
         * @type SplFileObject
         */
        $file
    ;
would be nice to have trailing commas >.<
 
Um, can anyone explain why a sscanf format string of "/%d/" will successfully match the string "/123abc/"? Doesn't the last "/" character sort of anchor the match?
 
@Danack I'm sorry. I'm not trying to give you shit personally.
 
@ircmaxell ok. It's just a pattern I've noticed. For example the other day when I was talking to Bob, you started having a go at me, when actually it's was Bob's code that was the cause of your ire.
 
> The final release is going to be identical to RC8 with the exception of the=
bugs considered security relevant.
so... 7 is releasing tomorrow for me :D
 
4:15 PM
totally unintentional
I'm looking at the message, not the author
 
so there will be RC8... what happened since yesterday?
 
more like, what is yet to be done since now for RC8 other than tagging?
wait, the github repo says it is already tagged? :o
 
If someone could explain why this works when it appears to me it shouldn't, that'd be swell :-)
Wait... it just bails after the format placeholder...
So it doesn't give a shit about the "/"
 
4:30 PM
@AwalGarg lol
 
why on earth does it have 2 upvotes
 
lol
 
@AwalGarg hahahahahahaha ...... come on it was funny :D
 
I am just scared by the upvotes. Meeting dicks on the internet is nothing new to me.
 
4:33 PM
 
first time I login to reddit and search something, and I see breaking relationships :D
 
I thought RTM != released to public?
 
@MadaraUchiha uhm, you got elected … I guess that's why you name is blue? well… nice :-)
 
@bwoebi Yes, I did, and thanks :)
 
4:52 PM
Is @MadaraUchiha the new @Gordon?
 
Also, if PSR-6 reolves around caching, what was PSR-5?
 
blue is the new blue
 
PSR 5 was PHPDoc Standard
Still in Draft
 
I stumbled upon this: groups.google.com/forum/#!topic/php-fig/dSw5IhpKJ1g. I don't understand :/ Who maintains PSR? Are all those individuals saying "+/-1 from $big_project" core representatives of $big_project?
 
Ah! helpful. Couldn't find it on their repo
 
4:55 PM
PSRs are maintained by the "Framework Interoperability Group" (aka FIG)
 
So.. like RFCs?
 
A group of representatives from the main framework development teams, pluse related libraries like Doctrine
 
oh
 
@MarkBaker and the entire PHP community (embodied by Cal) :)
 
@AwalGarg "Who maintains PSR?" they aren't maintained. They're voted for by 'projects' that have joined FIG. The lack of maintenance is a problem with how they are organised, as there is no process for updating them afaik.
 
4:57 PM
@Danack isn't the whole point not to update them?
 
And yes, they're like RFCs in a lot of ways, agreed standards by which components in frameworks/libraries can work together.... once they've been agreed, it's up to the individual frameworks/librraies if/when/how they implement them
 
> -1 from laravel
 
@salathe most of the time, yes. It gets weird though when the coding standards don't get updated for new features introduced....and so there is stuff just not covered.
 
Membership/representatives of FIG - php-fig.org/members
 
@Danack totally
@Danack and with PSR-6 there are bigger problems around new features and changes in 5.5 which aren't reflected. Meaning they are forcing support for php 5.4 in all implementing libs
 
4:59 PM
@Danack They're replaced then, not updated.
 
which is insane IMHO
 
> The community at large Cal Evans (@CalEvans)
I don't get this
 
@kelunik theoretically they're replaced. In practice....?
 
@Danack PSR-0 -> PSR-4
There might be something like that for PSR-2 in the future.
 
PSR-0 was superceded by PSR-4 (though PSR-4 is really just a superset of PSR-0)
not strictly a replacement
 
5:03 PM
@kelunik The fact that something has only been done once, kind of emphasises how the process for doing that is kind of difficult to do. And as PSR-0 is still active, means that the replacement has really happened zero times...
 
Wonder why nothing has actually been drafted yet for PHP7
 
But they could just add a 2.0.0 for those interface PSRs.
 
And there's some "tools" not represented that should perhaps have some say, but choose not to (it is voluntary of course); but it's always surprised me that Sebastian Bergmann or Everzet don't have any involvement
 
5:15 PM
@MarkBaker PhpSpec just applied for membership.
 
That's interesting to know
 
Sebastian may have chosen to remain out of the group since testing has little to do with framework interoperability.
 
It has little to do with framework interoperability, but following standards/patterns helps with testing, so I think he might have been interested in keeping up-to-date with FIG at least, and easiest to do that as a member
 
@kelunik nope, PSRs are not updated, only deprecated for new PSRs
 
Hahaha
 
5:28 PM
@Ocramius Really? :-/
 
yes
 
Best call ever : Hi Duikb00t, can you please enter my site in Google, ... Well My site shows up first thats good but I don't like the sites below my website can you remove them?
 
5:44 PM
posted on November 25, 2015 by nlecointre

/* by Gus Katarn */

 
@Ocramius But it could make sense for PHP 7's type hints in the future.
 
@Ocramius Any particular reason that a PSR should be replaced, rather than just creating a 2.0 when it needs to be updated?
 
@Trowski It probably just needs a new bylaw.
 
It would make a lot more sense to me. Only issue I see is projects would have to call out the version of the PSR they are compliant with, e.g.: Compliant with PSR-7 2.0
 
5:52 PM
They should do that anway. Or do you use "*" anywhere? I always use "^1" for PSRs.
I hope PSR-7 gets deprecated anyway, we don't need a 2.0 of it. :P
 
@kelunik Heh, well that's another discussion entirely. I just used it as an example :)
Yes, I always use "^1" for PSRs. I was talking about in the readme, etc.
 
6:12 PM
Does anyone know how to use subcommands with CLImate, so something like acme revoke --server ...?
 
@Trowski @Ocramius they take immutability very seriously
 
6:42 PM
hello guys, would you please take a look at this file http://pastebin.com/NVQJxUtC
unexpected end of file on line 58, i know im missing a bracket or ; just cant find it easily, hopefully you can spot it, and while your at it, please check if my code is good please, if you have time of course, if not forget about it
 
syntax highlighting code editors will make syntax errors like that be obvious to spot
 
@Lynob where is the closing bracket for:
if(isset($_POST['action']) && $_POST['action'] == 'time_availability'){
 
@Gralgrathor i know, im using sublime, seems shit, i'll try netbeans or some plugin for vim, if u have something in mind let me know @Danack thanks for spotting it, I'll fix it
 
And yes, using an IDE will help prevent this. As would splitting your code into files that define functions, and files that execute the functions.
@Lynob phpstorm....
 
@Danack free?
 
Abe
6:51 PM
is there an usable name for both "classes and interfaces" other than just "classes" and that isn't as generic as "type"?
 
Komodo Edit is a good free one
@abe structures?
 
Abe
too generic
 
data structures :P
do no one confuses then with sky scrapers
 
Abe
that would be incorrect :P
 
@Abe Class is the generic term.....abstract class = class that is missing some implementation. Interface = class that has zero implementations. Or at least their is no better term.
 
6:53 PM
@abe what is the context...
 
Abe
@Orangepill an api like php's reflection
 
so your are looking for a classification that includes both interfaces and implementations?
 
Mornings
 
Abe
yep @Orangepill
reflection uses reflectionclass for both classes and interfaces
 
@peehaa \o
 
Abe
6:55 PM
@PeeHaa o/
 
\o
 
I personally don't think those are bad names
 
Abe
@Danack i will have to if/else all the things. wanted to have them separated but implement some common interface i have no idea how to name
could do MyClass, MyClassImplementation implements MyClass and MyClassInterface implements MyClass
ugly, eh?
 
@Abe "i will have to if/else all the things" why do you need to do that?
 
Abe
use the same class to represent both interfaces and classes, as php's reflectionclass
 

« first day (1866 days earlier)      last day (3082 days later) »