New feature for checking if two objects are the same?

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.devel,gmane.comp.web.freemarker.user
Message-ID <[email protected]>
This is another missing thing in FM. There's no equivalent of Java's
o1 == o2 comparison. If we agree that this is useful enough in
FreeMarker (I remember this was asked for a few times), how should it
look? I don't think this is important enough for adding a new
operator (like "==="), I think a built-in is more appropriate. How
about this:

  o1?same_object_as(o2)

-- 
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.