Re: Help converting C to PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

> > I personally don't think this is a very healthy contest. It
> > discourages comments, and use of whitespace to make code readable.

> Anyway... as you say, it would be nice to have a contest that rewards
> readability and maintainability... but, how can we messure that
> qualities in this type of games? Should your code be praised by others
> and voted on? Is that reliable? I think enforcing a coding style is
> too restrictive... Also, how do we measure the declarativity of var
> and function names?

For some real trouble, try the International Obsfucated C Code Contest:
http://www.ioccc.org/

These contests like Code Golf are just for fun, I can't say that they
encourage bad practice as long as you understand what the contest is
about.

That aside, I think that it would be very beneficial to the community as a
whole if a contest was started that encouraged readability and good
practices.

The scoring and judging could be done by a panel, but I think that it
would be more fun if the community itself was able to vote on various
attributes; readability, efficiency, general approach, originality, etc.
Allow people to comment on each entry. I don't know about the winner
getting anything besides bragging rights, but it if gets large enough
maybe there can be a few corporate sponsors giving away licenses or
something. Who knows?

I think it would be a lot of fun if well executed.

-K.Bear

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux