动态语言可以自动重构吗?

编程入门 行业动态 更新时间:2024-10-25 06:26:57
本文介绍了动态语言可以自动重构吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

也许我对动态语言的经验有所限制(在Netbeans上使用Ruby,在Eclipse上使用Groovy),但是在我看来,动态语言的本质使其无法重构(重命名方法,类,上推,拉动) -等)

Perhaps I am limited by my experience with dynamic languages (Ruby on Netbeans and Groovy on Eclipse), but it seems to me that the nature of dynamic languages makes it impossible to refactor (renaming methods, classes, pushing-up, pulling-down, etc.) automatically.

是否可以使用任何动态语言(使用任何IDE/工具)自动重构?我对Ruby,Python和Groovy尤其感兴趣,以及重构与100%自动重构相比如何在所有Java IDE中都可用.

Is it possible to refactor AUTOMATICALLY in any dynamic language (with any IDE/tool)? I am especially interested in Ruby, Python and Groovy, and how the refactoring compares to the 100% automatic refactoring available in all Java IDEs.

推荐答案

鉴于自动重构是动态语言(Smalltalk)发明的(em> ),我不得不说是".

Given that automatic refactoring was invented in a dynamic language (Smalltalk), I would have to say "Yes".

特别是,约翰·布兰特(John Brant),唐·罗伯茨(Don Roberts)和拉尔夫·约翰逊(Ralph Johnson)开发了重构浏览器,是Squeak等工具中的核心工具之一.

In particular, John Brant, Don Roberts and Ralph Johnson developed the Refactoring Browser which is one of the core tools in, for instance, Squeak.

我的Google-fu今天很虚弱,但是您可以尝试找到这篇论文:Don Roberts,John Brant和Ralph Johnson,Smalltalk的重构工具,对象系统的理论与实践",(3)4, 1997.

My Google-fu is weak today, but you could try find this paper: Don Roberts, John Brant, and Ralph Johnson, A Refactoring Tool for Smalltalk, "The Theory and Practice of Object Systems", (3) 4, 1997.

更多推荐

动态语言可以自动重构吗?

本文发布于:2023-11-08 11:13:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1569207.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可以自动   重构   语言   动态

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!