Dear Carlo, Philip and octave-dev > I am not saying you are too picky :) > All your comments about code style are correct and agreed upon by most Octave > developers, > but the common practice is to impose lower constrains on functions that are > included in OF > forge as compared to those that are meant to go into core Octave. > > This practice is motivated, among other things, also by an attempt to make > life easier for > contributors who, like Levente, are wishing to share their code with the > community. > > So, in the case of OF packages, how strictly a function should adhere to > coding standards is left > to the judgement of the maintainer of the package in which the function will > go, and different > packages (even if maintained by the same person) may respect the Octave > coding standards to a different > degree. > > For example I myself am among the maintainers of both 'bim' and 'nurbs', but > while in the former we have tried > to stick to the coding standards as much as possible and to use texinfo > docstrigs to get a nicer looking documentation, > in the latter we decided to use '%' for comments and to avoid texinfo markup > as it is a fork from a matlab toolbox > and we did not wish to break matlab compatiblity. > >> If you want your scripts in the io package I could adapt the code >> (-style) a bit further for you (and send them to you for review before >> committing them), but if you want to retain ML compatibility I suppose >> your scripts perhaps should rather be elsewhere in the svn trunk. > > It seems we all three agreed to some extent that probably 'fpl' is a more > appropriate location for 'savevtk', my only concern in that case is to make > the name a bit more descriptive to distinguish it from other fpl functions > that save in other vtk formats. maybe 'save_vtk_lookup_table' or something > similar? > >> Let me know what you want. > > Levente, if you decide to put your code into 'fpl' I can give you access to > the OF svn so you can commit yourself.
> >> Thank you Levente. >> Philip > > > Carlo. If there is a way I wouldn't want to svn checkout and commit myself because this code is really a small thing. Yes we agreed in fpl package. If you think it is necessary I would change function names something like save_3D_vtk and save_vector_field_vtk Thanks for all the help and comment, Levente ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev