Python 开发环境,例如 Smalltalk

发布于 2024-11-02 08:56:42 字数 1539 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

伴我老 2024-11-09 08:56:42

如果你有足够的时间:)你当然可以使用 GlamourPetitparser 在Pharo中构建Python开发环境。

If you have enough time :) you could of course use Glamour and Petitparser to build a Python development environment in Pharo.

烏雲後面有陽光 2024-11-09 08:56:42

据我所知,不。没有像 Python 的 Smalltalk 镜像那样的东西。

AFAIK, no. There isn't anything like a Smalltalk image for Python.

猫瑾少女 2024-11-09 08:56:42

事实上,没有什么比任何其他语言中的闲聊更好的了。唯一接近的东西过去是、现在仍然是 Delphi 及其开源兄弟 Free Pascal + Lazarus,但仍然因为它试图与 C/C++ 保持联系,所以它作为一种语言和环境非常不同。我喜欢Python这种语言,因为它非常流行、简单、简单等。但是一旦你离开语言和库领域,你就孤身一人了。这让我确信,smalltalk 环境是我最想要的。

唯一能接近 Smalltalk 环境的优雅、易用性和强大功能的是 emacs。我在这里不会提到 vim,不是因为它是一个较差的编辑器,当然也不是因为它的可扩展性较差。Vim 很棒。但是像smalltalk IDE 这样的emacs 是建立在它们自己的语言之上的。对于smalltalk IDE,其smalltalk for emacs 的elisp 占其代码的90% 以上,而VIM 则依赖于C 源代码的50%。

emacs 在 GUI 方面有所欠缺,但在文档方面却有所收获。 Emacs 也有一个简单的架构,一切都不是像 Smalltalk 那样的对象,而是一个函数,而 elisp 甚至有 lisp 宏供您创建自己的语法。对我来说,emacs 是另一个很棒、令人惊奇的工作环境。 Emacs 具有 pymacs,它允许您使用 python 编写 emacs 脚本并获得对所有 emacs 库的完全访问权限,但 elisp 作为编程语言,不仅速度更快,而且比 python 更优雅。

Actually there is nothing like smalltalk in any other kind of language. The only thing ever to get close was and still is Delphi and its open source brother Free Pascal + Lazarus but still because it tried to keep ties with C/C++ its very different as a language and environment. I love python as a language and because is extremely popular, easy, simple etc. But as soon as you leave language and libraries territory you are alone. And that pretty much convinced me that the smalltalk environment is what I wanted the most.

The only thing approaching the elegance , ease of use and power of smalltalk environment is emacs. I won't mention vim here not because is an inferior editor and certainly not because is any less extendable.Vim is awesome. But emacs like smalltalk IDE are built on top of their own languages. For smalltalk IDE its smalltalk for emacs its elisp which accounts for more than 90% of its code based , compared to VIM that depends 50% on C source code.

What emacs lack in GUIs , it gains in documentation. Emacs also has a simple architecture , everything is not an object like smalltalk but is a function and elisp even has lisp macros for you to create your own syntax. For me emacs is another great , amazing environment to work into. Emacs has pymacs which allows you to script emacs with python and gain full access to all emacs libraries but elisp is not only faster but way more elegant than python as a programming language.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文