I think I used to get nitpicked on this same thing. It has something to do with concatenation taking place at run-time or it's the other way around. Marilyn can explain it very well. She did it several times in the course of nitpicking my assignments. I'll check my nitpicks. I saved them all!
Joined: May 30, 2002
Pauline and Carol, thanx, you are great! (how come that this (theMightyLongString) looks so easy and yet this idea did not come to my mind ) Carol, I also save ALL my nitpicks.. and yes, I got this, too:
Concatenating constants is figured out at compile time, not at runtime
My brain just tried to think of something more complicated than Pauline's string :roll:
Ok now I'm confused, i followed Paulines advise and submitted a mighty long string for the HTML bits but got the following nitpick
For cleaner code, I'll take a big collection of string constants like this and declare it in my class as one long string constant (concatenating constants is figured out at compile time, not at runtime).
I'm a bit confused as to how this is different from the mighty long string