Hi guys

AFAIK I think this is purely a API issue, I mean, how much normalized API
we can have. There's an overhead doing this. In other words, this is
aesthetic vs. efficiency. Ideally, print_char(serial_data,"a") would be
preprocessed into serial_data = "a". But we don't have any preprocessor...

Such a proc wouldn't hurt, it could still add confusion to user. I wouldn't
be in favor of creating such a procedure...

Cheers,
Seb

2011/12/12 Oliver Seitz <[email protected]>

> Hi Matt!
>
> > I asked Joep this question once and didn't have much to
> > say, and since
> > you are now author of print.jal, what do you think of
> > adding a
> > print_char procedure? Currently you can print a number or
> > sentence,
> > but not a character.
>
> The trick I learned from Matt is
>
> alias serial_data is serial_hw_data
>
> This way I can easily change to serial_software or to whatever, without no
> additional overhead at all.
>
> > Debug has a _char procedure, but debug was supposed to have
> > the same
> > procedures as print.jal
>
> Well, I don't think such a procedure is really needed... but it would not
> hurt. Perhaps it can be inline, so the overhead is quite small? I wouldn't
> use it anyway.
>
> Greets,
> Kiste
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>
>


-- 
Sébastien Lelong

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to