tracker issue : CF-3036996

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 74105:(Watson Migration Closure)Please make semicolon optional in CFSCRIPT

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Sean Corfield / Sean Corfield (Sean Corfield)

Created: 12/08/2008

Components: Language, CFSCRIPT

Versions: 11.0,10.0,9.0,2018

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / latest build

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 15

Problem:

Please make semicolon optional in CFSCRIPT.

Semicolon is optional in Javascript. Semicolon is optional in ActionScript. Semicolon is optional in Ruby. Semicolon is optional in Groovy.

http://www.bofh.org.uk/articles/tag/semicolons

Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3036996

External Customer Info:
External Company:  
External Customer Name: Sean Corfield
External Customer Email: 479B4EDC43F3A88B992016B6
External Test Config: 12/08/2008

Attachments:

Comments:

This bug has been voted..
Vote by External U.
24444 | November 10, 2011 07:06:59 PM GMT
This bug has been voted..
Vote by External U.
24445 | November 10, 2011 07:07:00 PM GMT
This bug has been voted..
Vote by External U.
24446 | November 10, 2011 07:07:01 PM GMT
I would probably still use them out of habit (I use them in JS, AS, etc, too), but I definitely see how people would find this frustrating. +1
Vote by External U.
24447 | November 10, 2011 07:07:02 PM GMT
+1 After working without them, I don't want to go back. It just adds clutter and well, ColdFusion is about simplicity.
Vote by External U.
24448 | November 10, 2011 07:07:03 PM GMT
I'm am just starting to try out script based components and this has already tripped me up several times. Please make semicolons optional.
Vote by External U.
24449 | November 10, 2011 07:07:05 PM GMT
I agree. There is no reason for them in most cases. First thing you do when writing language tokenizer is throw away semicolons once you find them :)
Vote by External U.
24450 | November 10, 2011 07:07:06 PM GMT
This bug has been voted..
Vote by External U.
24451 | November 10, 2011 07:07:07 PM GMT
This bug has been voted..
Vote by External U.
24452 | November 10, 2011 07:07:09 PM GMT
This bug has been voted..
Vote by External U.
24453 | November 10, 2011 07:07:10 PM GMT
1 vote for this simple modernization
Vote by External U.
24454 | September 30, 2012 09:18:03 AM GMT
+1 - It currently works for writeDump()
Vote by Aaron N.
24455 | August 09, 2017 02:49:34 AM GMT
Can't see if I'm one of the original 'External Users' who voted for this, so voting for it again.
Vote by Denard S.
24456 | September 29, 2017 08:17:49 PM GMT
Thank you for reconsidering this!
Comment by Sean C.
24443 | October 04, 2017 04:43:31 PM GMT