What are MEL's weaknesses?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 06 June 2003   #1
What are MEL's weaknesses?

Greetings,

I wanted to pick the brains of other people who use MEL in their daily work. My question is, What are the areas where MEL is weak as a programming language?

Sometime later this year I'm going to start working on my own graphics tool for playing with some algorithms/approaches (terrain and plant generation, texturing, image manipulation, etc) and I plan for it to be similar to Maya's node based system. It also needs a scripting language, and I'm leaning towards a design that is very MEL-like (which itself is very C-like). I've looked at other scripting languages to embed, but none of them really achieved what I wanted. So I'm planning on writing my own.

So what areas do you think that MEL's syntax or structure are not well done? I know that MEL's implementation of regular expressions is pretty lousy, and I've heard that it isn't great for manipulating images either. It also seems to me that its handling of vectors and matrixes isn't as smooth as it could be. It would also be nice to be able to set attributes with a simple assignment expression, rather than having to call setAttr (i.e. pObject.tx = 7.2). What other areas do you think that MEL is lacking? I just want to make sure I avoid those design pitfalls as I work on my own code.

Thanks for any input,
Michael Duffy
mduffy@ionet.net
 
Old 06 June 2003   #2
Hi!
Im not too much into Mel right now, but Im trying to get started.
As no one has replied yet, I`ll give it a try!
Coming from C++, what goes on my nerves is writing the $ in front of all variables (I keep forgetting it all the time) and what I don`t like is that overloading functions or procs is not possible, I mean giving to procs the same name only difference is the parameters!
Another thing is that if you declare variables and procs directly in the script-editor, to delete them you have to restart Maya. But this is not really the Languagething!
 
Old 06 June 2003   #3
deleted text because i can't delete the post

Last edited by Derlaine : 04 April 2005 at 01:39 AM.
 
Old 01 January 2006   #4
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:59 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.