Unintended Consequences of Apex and Visualforce

Last Updated on Thursday, 7 August 2008 03:24 Written by Steve Thursday, 7 August 2008 03:24

screenshot

VisualForce and Apex use semicolons, and the Salesforce.com user forums software interprets semicolos as the eyes in a smiley face. Oops.

When you are struggling with syntax and you run across sample code that look like this, it kinda feels like getting kicked in the gut by a clown.


3 Comments

  1. Mark   |  Thursday, 14 August 2008 at 5:38 pm

    A scary clown.

  2. Brendan Lally   |  Monday, 18 August 2008 at 1:22 pm

    really feel they should tweak the SF forums to not interpert semi-colons now that Apex and VF is getting more traction.

    Seems a simple fix

    Lal

  3. Tom Fuda   |  Friday, 29 August 2008 at 5:32 am

    FYI, That’s what the “SRC” button is for in the tool bar of the “New Message” editor on the Salesforce. discussion forums. Click that button and insert your source code, and semi-colons will not be treated as smileys :)

Leave a Reply