Avoiding Mixup of Language Details
Posted
by DarenW
on Stack Overflow
See other posts from Stack Overflow
or by DarenW
Published on 2008-10-22T04:11:20Z
Indexed on
2010/04/25
4:53 UTC
Read the original article
Hit count: 370
Today someone asked me what was wrong with their source code. It was obvious. "Use double equals in place of that single equal in that if statement. Um, i think..." As i remember some languages actually take a single equals for comparison. Since i sometimes forget or mix up the syntax details among the several languages i use, i stepped over to my laptop to try a quickie experiment...
It costs a bit of time and is a break in the flow to try "quick" experiments (though maybe the practice is good for memory.) What tips do you have for keeping straight in your mind the syntax (and other) details of multiple languages?
(And nowadays, this applies just as well to the many wiki-like markups!)
© Stack Overflow or respective owner