G
Greg Smith
in our office i recently vented about the constant reintroduction of
the IF/WHILE/FOR/FOREACH tags in <c:> and <x:> and other taglibs.
IMHO, it is a terrible affront to the Java language. We already have
If/While/For/Foreach in Java, adding it to every taglib dilutes the
language.
Essentially, a taglib is an extension to HTML. I feel that having
multiple IF statements weakens the programming environment. Why not
just use Java's IF. Extending HTML to allow control structures
attempts to make HTML a programming language - which it is not. It is
a markup language. And a pretty decent one at that. But HTML does
not lend itself well to describing programming constructs, in
particular flow control.
Am I alone in this?
the IF/WHILE/FOR/FOREACH tags in <c:> and <x:> and other taglibs.
IMHO, it is a terrible affront to the Java language. We already have
If/While/For/Foreach in Java, adding it to every taglib dilutes the
language.
Essentially, a taglib is an extension to HTML. I feel that having
multiple IF statements weakens the programming environment. Why not
just use Java's IF. Extending HTML to allow control structures
attempts to make HTML a programming language - which it is not. It is
a markup language. And a pretty decent one at that. But HTML does
not lend itself well to describing programming constructs, in
particular flow control.
Am I alone in this?