Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Skylark reaching "beta" status, first 6 chapters of tutorial available..
Re: Skylark reaching "beta" status, first 6 chapters of tutorial available.. [message #36828 is a reply to message #36827] Mon, 09 July 2012 21:44 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
zsolt wrote on Mon, 09 July 2012 15:19

It is not too beautyful, I think.



But it is not extremely ugly as well...Smile At least you now have clear sign that you are dealing with session / cookie. And IMO still less verbose that to write http.Session("var").

Quote:


I did not learn the sources yet, but wouldn't be logical to put that operator[] and Int() functionalities into a separate class?
It could be the ancestor of Http class and the type of session and cookie members as well.


Maybe... but you also have to think about representation of these variables in witz templates. Sure, we can have "cookie("var")" and "session("var")" witz functions, but that further complicates the code and makes witz compiler optimizations a bit more difficult (not that there are many, but variable accesses are compiled to something like array index read).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is U++ compatible with VC++ Express 2012?
Next Topic: Another problem with MT (damn it... :()
Goto Forum:
  


Current Time: Mon Apr 29 10:34:42 CEST 2024

Total time taken to generate the page: 0.02655 seconds