Content deleted Content added
Prosfilaes (talk | contribs) Libraries versus features |
Prosfilaes (talk | contribs) Smalller==Faster is bullshit |
||
Line 42:
Also, are you still a simple language if you have a Java-sized standard library? Implementations still have a long row to how, and it's not like it's any easier or less required to learn about a feature if it's stuck away in a library. --[[User:Prosfilaes|Prosfilaes]] 12:19, 27 Jun 2004 (UTC)
== Smalller==Faster is bullshit ==
I'm posting to the talk page so maybe we can discuss a consensus, instead of back and forth changes.
"Oberon code is typically smaller, and so faster, than equivalent code in many other languages."
Is bullshit. It is absurd to say that Oberon code is typically smaller if you don't specify languages and projects. Likewise, smaller doesn't mean faster. In [[Code Complete]], Steve McConnell shows several functions in C to calculate the integer log base 2 of an integer; the fastest function is the longest.
Or let's look at Hello, World.
10 print "Hello, world"
echo Hello, world
#include <stdio.h>
int main (void) {
printf ("Hello, world\n");
}
MODULE HelloWorld;
IMPORT Out;
BEGIN
Out.String("Hello World!");
Out.Ln;
END HelloWorld;
Gee, Oberon produces the most code. Do you really think that means that the code will be slowest?
|