2013/2/27 Frank Schenk <frank.sch...@2e-systems.com>

> Hi Crypto Compress,
>
> big congratz to that name, your mummy Hash Compress and your daddy Image
> Compress must be very proud!
>
> SCNR
>
> Am 02/27/2013 03:54 PM, schrieb Crypto Compress:
> > Hello Mike,
> >
> > thank you! It is a useful feature to me.
> >
> > class MyBitmask {
> >       const POS_1 = 1;
> > //    const POS_2 = 2;        // reserved/undefined
> > //    const POS_3 = 3;        // reserved/undefined
> >       const POS_4 = 4;
>
> I'm developing software with PHP since version 2 and i'm still easily
> impressed by such code. So we need get_object_constants and
> get_class_constants for such fancy stuff?
>
> Where's the good old
> $flag == true; or FLAG == true;?
>
> A bitmask class to shuffle around with class constants using reflection
> of itself and a magic method get_class_constants to check a boolean flag?
>
> I just don't get it but maybe i'm to focused to doing things the most
> simple and readable/maintainable way.
>
> Maybe, in a few years, c++ will be a beginners language compared to PHP
> which gets added new shiny features every day which will only be used by
> even more shiny frameworks and the most shiniest, bloated objects one
> can imagine.
>

I don't see this one in a framework. Just said :)


>
> With every fancy feature added to PHP you kill a kitten!
>
> I'm more with this "Give PHP and it's core developers a rest" so that
> the core can be improved/cleaned up instead of adding Java features
> people have seen on the university and like them but now they're forced
> to use PHP which is like the opposite of Java. Java has it's good
> reasons too. Just a tool. Use the tool that fits best, don't use the
> hammer as a saw by adding teeth to it.
>
> Cheers,
> Frank
>
> --
>
> Frank Schenk
> Software Analyst
> 2e Systems
>
> Tel: +49 - 6196 - 95058 - 30
> Fax: +49 - 6196 - 95058 - 94
> E-mail: frank.sch...@2e-systems.com
>
> Address: 2e Systems GmbH, Königsteiner Str. 87, D-65812 Bad Soden am Taunus
> Company registration: Amtsgericht Königstein (Germany), HRB 7303
> Director: Philip Douglas
>
> http://www.2e-systems.com/ - making your business fly!
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
github.com/KingCrunch

Reply via email to