Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 3 matches
Smarty Forum Index
Author Message
  Topic: Porting switch plug-in from v2 to v3?
Darker

Replies: 5
Views: 22271

PostForum: Plugins   Posted: Tue Jan 13, 2015 7:18 am   Subject: Porting switch plug-in from v2 to v3?
Once again, seems you take a long time to understand this:

switch was invented to replace long unreadable chains of if/else statements. This is no complicated program logic. This is about making co ...
  Topic: Porting switch plug-in from v2 to v3?
Darker

Replies: 5
Views: 22271

PostForum: Plugins   Posted: Mon Jan 12, 2015 3:59 pm   Subject: Porting switch plug-in from v2 to v3?
Switch is much simpler to read than bunch of else/if commands. This is why switch exists in programming languages as you probably fail to see.

And you often happen to have several states certain pa ...
  Topic: Porting switch plug-in from v2 to v3?
Darker

Replies: 5
Views: 22271

PostForum: Plugins   Posted: Mon Jan 12, 2015 6:52 am   Subject: Porting switch plug-in from v2 to v3?
This [url=http://www.smarty.net/forums/viewtopic.php?t=8695#48333]switch plugin is really awesome. But[url=http://stackoverflow.com/q/27896664/607407] it throws errors under V3 because [url=http://www ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP