Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
I think it's like Chris says, in theory it could be used well, or could be a quick band-aid to fix code that needs a shortcut (most likely usage), but the problem becomes readability and re-usability. What I fear the most is that beginners are going to get a hold of this and start using it everywhere, leaving a mess for the rest of us to clean up.
Like Jeremy, I used GOTO many times in my hobbyist days, playing with BASIC and Fortran. I was having lots of fun, knew nothing about structure, and it didn't matter.
I read an interview recently with the guy who started PHP (whatever his name is). He's not a big fan of OOP style programming at all, and I bet there is a moderate following among the PHP language developers that still advocate a procedural style of programming. As the PHP 5.3 release proposed class niceties like namespaces and "late static bindings", new magic methods, and more, the procedural folks probably asked, "why can't we improve the procedural part of the language also?". They made their case and commits, and were convincing enough to have their changes included for whatever reason.
I guess we'll see how it plays out. It will be a while for version 5.3.x to get used widely, as there are a few minor backwards incompatible changes that will stop hosts and companies from automatically upgrading.
|