tracker issue : CF-4010487

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

Everything is an object / Everything is an expression

| View in Tracker

Status/Resolution/Reason: Needs Review//

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 06/22/2015

Components: Language, Wishlist

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 5

From: http://blog.adamcameron.me/2015/06/what-id-like-to-see-in-coldfusion12.html

Everything is an object

Everything. Including literals, and expressions. Remove uncertainty in the language due to second-guessing what can and can't be done with an expression.

Everything is an expression

All statement should be usable as an expression, and evaluate to a value. These last two are just givens in a bunch of modern languages.

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

Watson Bug ID:	4010487

External Customer Info:
External Company:  
External Customer Name: Adam
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

I'd be in favor of this just to help make the language more consistent.
Vote by External U.
7169 | June 29, 2015 09:31:14 AM GMT
I hope Developer would love this.
Vote by External U.
7170 | June 29, 2015 04:20:01 PM GMT
................................................................
Vote by External U.
7171 | July 01, 2015 02:57:42 AM GMT
I agree. It really slows me down while coding to think about whether something will evaluate the way I want it to.
Vote by External U.
7172 | July 02, 2015 12:49:54 PM GMT
+1 ......................
Vote by External U.
7173 | December 05, 2015 03:43:53 AM GMT