WTF @ TheDailyWTF
-
http://thedailywtf.com/Articles/Finite-State-Arg.aspx[^] The coding horror here is that it is scary where our industry is heading, not being able spot 'highly' optimized code and thinking less lines is faster. :doh:
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 2 out now -
http://thedailywtf.com/Articles/Finite-State-Arg.aspx[^] The coding horror here is that it is scary where our industry is heading, not being able spot 'highly' optimized code and thinking less lines is faster. :doh:
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 2 out nowThis reminds me of my first CS class back in the 70s. The professor gave us an assignment to parse free form numeric input strings. Any valid number was fair game, integers, floats, exponents, etc. We all shuffled off to the ribbonless keypunch machines to enter our creations (without the assistance of the interweb and ‘I needs codes now. Urgent’ forums). A week later we returned to class each with massive stacks of FORTRAN code and bruised egos as nobody was able to get it to work for all cases. He then presented his solution using an FSA and a few lines of code. After the initial shock and urge to shove said deck of cards down the professors throat, it turned out to be a great lesson on the power of table driven programs.
-
http://thedailywtf.com/Articles/Finite-State-Arg.aspx[^] The coding horror here is that it is scary where our industry is heading, not being able spot 'highly' optimized code and thinking less lines is faster. :doh:
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 2 out nowAs some guy wrote in commentaries:
AVF wrote:
I'm sorry, but that rocks. It may not be the kind of code you want in production, but from a mathematical/CS point of view, it's just cool.
Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
-
http://thedailywtf.com/Articles/Finite-State-Arg.aspx[^] The coding horror here is that it is scary where our industry is heading, not being able spot 'highly' optimized code and thinking less lines is faster. :doh:
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 2 out now:eek:
wrote:
thinking less lines is faster
Geeze, we leave it up to the compiler to optimize stuff.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
-
:eek:
wrote:
thinking less lines is faster
Geeze, we leave it up to the compiler to optimize stuff.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
Paul Conrad wrote:
Geeze, we leave it up to the compiler to optimize stuff.
Of course, the less lines you write, the easier it is for the compiler to optimize the code ;P :doh:
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 2 out now -
http://thedailywtf.com/Articles/Finite-State-Arg.aspx[^] The coding horror here is that it is scary where our industry is heading, not being able spot 'highly' optimized code and thinking less lines is faster. :doh:
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 2 out nowAt least someone here has a hammer he *really* knows how to use. And obviously he has no trouble to find enough nails for it...
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"