Main reason not to do so: KISS!

Having many functions doing more-less the same (even when overloading
these) is a very *BAD* idea which which populates the API, brings
confusion to it,  you newer know what what is responsible for what, it
is more difficult to remember parameters, manual is bigger and nobody is
 happy.

If you like different syntax, there is nothing to stop you to define
your own simple function wrappers which does what you describe.


R.




Fabio Bracci wrote:

> 
> I agree, when setting up a mass of widgets the implicit context is useful. 
> Nevertheless I would say the two approaches are not necessarily conflicting: 
> why not to offer both of them?
> 
> draw(context)
> rect(context)
> line(context)
> 
> and
> 
> begin(context);
> draw()
> rect()
> line()
> end(context);
> 
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to