Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Fastest prototyping language?

Name: Anonymous 2007-07-15 13:37 ID:kBIa13sy

I want to write programs as fast as I can. Which language should I learn?

Using program length as a rough indicator, Forth is the choice. Samples I've seen like web servers, operating systems, database managers, etc. are significantly shorter in Forth.

But I've seen some really short Perl and Haskell routines too.

And Lisp is supposed to allow you to work at such high levels of abstraction that it should also make short applications.

Ruby gets a lot of comments about short line counts compared to Perl and Python.

Assuming
   -identical toolset library functionality,
   -maximum expertise in all the candidate languages
   -no concern of readability, "transparent" design, or 
    execution speed
which language syntax will allow you to write your program fastest?

In b4 machine code.


Name: Anonymous 2007-07-16 3:46 ID:IJyao4Ma

>>1
Why "prototyping"? Just write the good thing at once. Let me explain. You take a flexible language, which probably means Python, Ruby or a LISP dialect. Then you start writing. As you progress, you'll be seeing how it should actually be implemented or improved. Because you properly abstracted and modularized the project (you did, right!?) and didn't make any retarded decision from the start, you replace part by part, until you're satisfied enough. And you end with the final product, written in a language that makes it fun to write and cheap to maintain.

Name: Anonymous 2007-07-16 10:52 ID:IJyao4Ma

>>21
Optimization is only worth if the time you waste optimizing is smaller than the total time all of your users waste waiting for the unoptimized program to complete through the program's life cycle, multiplied by a factor of worth (e.g. one user hour worth 0.1-0.5 development hours since you are (usually) much smarter than your users and do more important work). If that's the case, then I don't have anything against optimization; however, beware that optimizing algorithms is a lot of fun (and it happens almost instantly in O(1) space and time in the mind of a Satori programmer), but optimizing implementations can be very boring, especially if you have to work with C++. Also, try to optimize just the vital parts and keep the rest running on Python/Lisp/whatever.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List