TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pharo: A malleable and powerful platform

87 点作者 jsmorph超过 11 年前

8 条评论

e12e超过 11 年前
Very nice - even managed to duplicate the demo with a bit of effort (once I got 32bit gl librarires installed in my 64bit ubuntu and got the standard 3.0 image&#x2F;vm to start...).<p>Now, it appears one can do&#x2F;print with ctrl-d&#x2F;ctrl-p -- and that it will work for the current line, eg:<p><pre><code> 1 + 1 &lt;ctrl-p&gt; &quot;prints 2&quot; </code></pre> But how about blocks? Is there a reasonable alternative to either selecting with the mouse, or with shift-arrow? As far as I can tell even simple &quot;two-liners&quot; force my fingers off of home row...<p>Also anyone happen to know if there&#x27;s a usable vim-like interface&#x2F;editor&#x2F;thing for pharo (other than just starting vim and copy&#x2F;pasting)?<p>For the curious, I got this to work (just copy-paste into a Workspace. Note that I had to change getGif with getJpeg -- but I&#x27;m not yet sure how to &quot;live patch&quot; that properly, for now I just abandoned the stack trace, fixed the code and evaluated again (the last line):<p><pre><code> Gofer it squeaksource: &#x27;MetacelloRepository&#x27;; package: &#x27;ConfigurationOfXMLSupport&#x27;; load. (Smalltalk at:#ConfigurationOfXMLSupport) project latestVersion load. Gofer new squeaksource: &#x27;XMLSupport&#x27;; package: &#x27;XML-Parser&#x27;; load. &quot;Get the data, you can try and print this, if you want&quot; data := &#x27;http:&#x2F;&#x2F;picasaweb.google.com&#x2F;data&#x2F;feed&#x2F;api&#x2F;all?q=puppy&#x27; asUrl retrieveContents. &quot;parse it&quot; doc := XMLDOMParser parse: data. &quot;split up&quot; entries := doc allNodesSelect: [ :n | n name = &#x27;entry&#x27; ]. &quot;pick one&quot; entry := entries anyOne. content := entry nodesDetect: [ :n | n name = &#x27;content&#x27; ]. url := content attributeAt: &#x27;src&#x27;. (ZnEasy getJpeg: url) asMorph openInHand . &quot;Opens image&quot;</code></pre>
评论 #6543504 未加载
评论 #6544458 未加载
评论 #6543436 未加载
girvo超过 11 年前
I&#x27;ve always considered playing with Pharo (and Seaside). I just... I dabble in a lot of languages, and struggle to make certain ones fit in my toolbox, at times. Where would you put Pharo? Should I attempt web development in it? Server-side apps?<p>Basically, what sort of development takes full advantage of the super-awesome neat features that Smalltalk gives you? Or am I thinking about it the wrong way?
评论 #6543156 未加载
philippeback超过 11 年前
Currently doing web and backend stuff with it. Works very well.<p>Also put my money in there as a consortium member.<p>Really a great feel and awesome community.
评论 #6542921 未加载
nnq超过 11 年前
Side-topic question: is anything from the Smalltalk OO model that hadn&#x27;t made its way into Ruby?<p>I know that Matz took lots of ideas from Smalltalk when he created Ruby, but I wonder if there are any good OO model related things he didn&#x27;t adopt. I don&#x27;t mean the whole image based and IDE in the program thing, I know this is something only Smalltalk has.
评论 #6543928 未加载
评论 #6544501 未加载
评论 #6543518 未加载
评论 #6543514 未加载
benjComan超过 11 年前
I started using Pharo a year ago and its been a pleasure to work with. Great community.<p>I really like the Syntax comparison (slides 46-49). And being able to serialize the debugging context of a running program to a file that can be stored for later
评论 #6546239 未加载
endlessvoid94超过 11 年前
I&#x27;ve been playing with Pharo (and seaside) for a couple days now, and I know it&#x27;s going to be painful to go back to normal tools.
评论 #6543322 未加载
rufugee超过 11 年前
Are there commercial applications done using Pharo? If so, what? It&#x27;d be nice to see some examples of companies successfully using it.
评论 #6545066 未加载
ravestar超过 11 年前
My favorite language. I wish Pharo all the best.