Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Java 中是否可以避免使用赋值?在 lisp 中,通过尾递归、映射和通过绑定修改数据很容易将可能的赋值限制在迭代中,但 Java 并没有真正进行任何尾递归优化。java中有没有方法可以绑定到数据而无需赋值?
你可以编写自己的一堆类来模拟Lisp,但你不能用java本身来模拟它。
Lisp