Re: intern commit

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Sun Dec 20 1998 - 20:48:19 EST


Godmar Back writes:
> > - Renamed string and utf8 functions to have more consistent naming
> > convention (still not perfect though).
>
> While consistency is important in naming, easy recognition is important too.
> Maybe it just appears so because it's new, but I find "javaString2CString"
> easier to remember than "stringJava2CBuf".

Yes, I'm cleaning these up some more.

> Basically, is your idea that all functions that operate on Hjava_lang_String
> would start with "string"? In this case, why don't you let them start
> with "javaString" instead? This would allow for javaString2CString,
> for instance.

That works for that case, but if you want to go the other way
you'd have to have javaStringC2javaString() .. ugh.

I was going to make it stringJava2C() and stringC2Java().

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:26 EDT