About Store Forum Documentation Contact



Post Reply 
Visual Scripting
Author Message
Ashtefere Offline
Member

Post: #16
RE: Visual Scripting
Yeah, he understands chaining quite well.

The point of the article though is to make it human readable.

What I see above is a shortened abbreviated chained function. In the article its readable and understandable to anyone who doesnt code.

The above command, made fluent, would be something like:

Display.Resolution(1440,900,false).RayTrace?(true).AmbientPower(0.4).SoftShadows​(0).vSync(true).ViewRange(10).EdgeSoftenMode(HIGH);

Only slight changes, but anyone knows what that means.
01-13-2011 01:21 AM
Find all posts by this user Quote this message in a reply
Chris Offline
Member

Post: #17
RE: Visual Scripting
Haha *thumbs up for RayTrace(true) display mode* that'd be cool pfft
PS, I agree good interface design is important; saves lots of time, and makes code understandable, modularity etc.
01-13-2011 01:30 AM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #18
RE: Visual Scripting
(01-13-2011 01:30 AM)Chris Wrote:  Haha *thumbs up for RayTrace(true) display mode* that'd be cool pfft

lol, I guess that proves his point about human readable code. grin

Nice article.
01-13-2011 02:49 AM
Find all posts by this user Quote this message in a reply
Ashtefere Offline
Member

Post: #19
RE: Visual Scripting
Yeah - im thinking of doing this for my projects from now on, esenthel or not.

Later down the track if I take a look at my code again, there will be far less "wtf"s.

-Ash
01-13-2011 03:19 AM
Find all posts by this user Quote this message in a reply
Dandruff Offline
Member

Post: #20
RE: Visual Scripting
(01-13-2011 01:30 AM)Chris Wrote:  RayTrace(true) display mode

Ha, yea that's funny grin
01-22-2011 06:50 AM
Find all posts by this user Quote this message in a reply
Post Reply