You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Siegfried Goeschl (Jira)" <ji...@apache.org> on 2020/08/24 18:53:00 UTC
[jira] [Created] (FREEMARKER-155) [freemarker-generator] Migrate
the FTL code to terser dotter form
Siegfried Goeschl created FREEMARKER-155:
--------------------------------------------
Summary: [freemarker-generator] Migrate the FTL code to terser dotter form
Key: FREEMARKER-155
URL: https://issues.apache.org/jira/browse/FREEMARKER-155
Project: Apache Freemarker
Issue Type: Task
Reporter: Siegfried Goeschl
Assignee: Siegfried Goeschl
[~ddekany@freemail.hu] wrote
{noformat}
BTW, the example templates will need some reviewing. Something I saw a lot
was using foo["bar"] instead if foo.bar. That's something people used to be
confused about (when can they use which form), and just default to
foo["bar"]. Thus we should use terser dotter form whenever we can, showing
that it's safe and good practice to do so.
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)