|
|
weblogs.oreilly.com: Windows
Mono goes beta
Edd Dumbill
May. 05, 2004 11:44 AM
Permalink
URL: http://www.go-mono.com/archive/beta1/beta1.html...
The first beta release of Mono is out! Headed for a 1.0 release in late June, Mono's starting to look very polished indeed.
I've been using Mono for several months now, mostly with the IDE MonoDevelop.
Talking with other hackers who've started playing with Mono, we've agreed that the best thing about Mono is that it's
fun to program in.
It's always a matter of subjective opinion, of course, but here's why Mono and C# is fun. You benefit from object-orientation and comprehensive API library.
A bit like Java.
You don't however have stupid restrictions like one public class per file, or a rigid deeply nested directory structure. You don't have to give up make or autotools.
A bit like C.
You don't however have to worry about memory management, or traipse through the heap in the increasingly cranky gdb debugger. And compilation is blisteringly fast. So fast, it may as well be interpreted.
A bit like Python.
Except that the strong typing means you catch more errors
up front. And that your libraries can be re-used from other languages that interoperate with the common runtime.
So if you're finding your development cycle on Linux getting bogged down, why not give Mono a whirl?
Edd Dumbill
is editor at large for O'Reilly Network and coauthor of Mono: A Developer's Notebook. He also writes free software for GNOME and packages Bluetooth-related software for the Debian GNU/Linux distribution. Edd has a weblog called Behind the Times.
What do you like best about Mono?
You must be logged in to the O'Reilly Network to post a comment.
Showing messages 1 through 5 of 5.
-
mostly in agreement
2004-05-06 10:10:12
pyguy
[Reply | View]
We're mostly in agreement.
I think I am more on the side that many of the errors C# "saves" you from are those that exist
precisely because of the typing system it uses.
In that case, it is not much of a save and since python is 5-10 times more productive than C# (check out Eckel's article) definitely not worth it.
I guess I feel disappointed that open source community is being held back by the Java/C# languages, when other languages are much more productive.
-
I meant python faster to write C#
2004-05-06 10:01:11
pyguy
[Reply | View]
I meant python can be written _correctly_ much faster than C#. I guess C++ was a slip.
The difference between the 2 lanuages is dramatic.
-
python is strongly typed/eaiser at catching errors
2004-05-06 09:53:26
pyguy
[Reply | View]
Python is strongly typed, it just pushes type checking to the last possible second.
The idea that you catch _more_ errors up front is a nice theory. However, people like Bruce Eckel that that as well but now seem to disagree.
My take is that compile time typing introducing much more errors than it saves. Also, type checking is a very weak form of error checking. What you want is an easy way to write REAL tests.
Python can be written much faster than C++, which means it is that much easier to do testing, rather than rely on the false illusion of testing with typing.
Check out Eckels article on Strong Typing vs. Strong Testing.
http://mindview.net/WebLog/log-0025
Here is an excerpt:
That is to say, if a program compiles in a strong, statically typed language, it just means that it has passed some tests. It means that the syntax is guaranteed to be correct (Python checks syntax at compile time, as well. It just doesn't have as many syntax contraints). But there's no guarantee of correctness just because the compiler passes your code. If your code seems to run, that's also no guarantee of correctness.
The only guarantee of correctness, regardless of whether your language is strongly or weakly typed, is whether it passes all the tests that define the correctness of your program.
-
python is strongly typed/eaiser at catching errors
2004-05-06 15:29:27
rocketgt
[Reply | View]
I think this article ilustrates the concept better (from Guido himself):
http://www.artima.com/intv/strongweak.html
I find the collections example at the end of the first page, prety good.
-
python is strongly typed/eaiser at catching errors
2004-05-06 10:00:12
Edd Dumbill
[Reply | View]
First, I was stupid in not saying statically typed when that is what I meant.
Secondly, I don't doubt Python is faster than C++ to write. From my experience, I find that Python and C# are about the same speed.
And yes, I understand that type matching doesn't guarantee correctness, but it does help catch some stupid errors earlier on. I'm all in favor of tests.
We're in agreement I think. I'm looking forward to the promised Python implementation using the common runtime.
Showing messages 1 through 5 of 5.
|
Return to weblogs.oreilly.com.
Weblog authors are solely responsible for the content
and accuracy of their weblogs, including opinions they
express, and O'Reilly Media, Inc., disclaims any and
all liabililty for that content, its accuracy, and
opinions it may contain.
This work is licensed under a
Creative Commons License.
|
|
Sponsored by:
|