PHP verus ASP.NET versus LISP, all in PHP

There's more than one way to do the same thing...
traditional PHP or ASP style

<input id="foo" 
    style="color:<?=$color?>;" />

versus a quasi asp.net style

<?
$foo 
= new Input('foo');
$foo->css->color $color
?>
<?=$foo
()?>

versus functions

<?
$css 
css_style('color',$color);
echo(
html_input('foo',$css));
?>

.

Donate Bitcoin to support the writer: 1F13NCPcFKjJ7oy36zc2vBTtqoQCBPpAPH

Comments are disabled

If you wish to comment, post this article on reddit or hacker news.