9 ms·
The Absolute No-Frills Quite Ignorant Incomplete Beginner’s Guide to Smalltalk
- shmde 6y agoNot adding anything to the discussion,but when you click on the cookie policy it redirects to a 404. Then what I am accepting to in "Accept cookie policy" ?
- sjmulder 6y agoAlso missing a nope button.
- m_mueller 6y ago'incomplete' alright ^^
- grahamlee 6y agoSorry, that's my fault, I hadn't published the privacy policy page! I've fixed it now, thanks for flagging that.
- igouy 6y agofwiw https://news.ycombinator.com/item?id=24720801 https://news.ycombinator.com/item?id=24720801
- matt_eeee 6y agoNice article. I would just add the smalltalk is not just a language, but a whole environment. If you have the time I encourage you to give image based development a go. It's still the most productive programming environment I have ever used.
- Rochus 6y agoThere are notable versions of Smalltalk such as GNU Smalltalk or SOM which are not running in a virtual image, but can be used like normal file based programming languages. Virtual image based systems have some advantages, but even more disadvantages when it comes to deployment and integration. No wonder that the concept did not catch on. Today there are variants of it, e.g. in Dart, to shorten the start-up time.
- bonzini 6y agoGNU Smalltalk does run in an image. The main differences are: 1) it's possible and easy to rebuild the image from scratch 2) it's relatively common to reuse the same image and load files into it through the command line, without saving it the image back at the end of every execution. However the image is still there. :)
- Rochus 6y agoWell, there is the Object Memory as defined in the Bluebook, but otherwise it's file based. There are important differences to Smalltalk-80, where even the compiler and the scheduler are part of an "eternal" (i.e. with no unique origin) virtual image.
- dharmatech 6y agoThe guy you're replying to is the guy behind GNU Smalltalk.
- Rochus 6y agoSo what? I also implemented a couple of Smalltalk VMs, see https://github.com/rochus-keller/Smalltalk https://github.com/rochus-keller/Smalltalk or https://github.com/rochus-keller/som https://github.com/rochus-keller/som, and I also spent a lot of time with the GNU ST implementation.
- deleted 6y ago[deleted]
- stevewodil 6y agoI seriously thought this was going to be a guide to small talk - as in how to start conversations and keep them going.
- danilocesar 6y agoLOL, +1. My first thought was "Oh nice, a guide to help introspective folks to start a conversation" I'm pretty sure there's a decent audience for such a guide, which is not toned like "Stu the Cockatoo is New at the Zoo". =)
- moritonal 6y agoI present: https://www.reddit.com/r/NoStupidQuestions/comments/dw8f8c/i_have_very_bad_anxiety_and_would_like_to_try/ https://www.reddit.com/r/NoStupidQuestions/comments/dw8f8c/i... Someone asking how to order a sandwich (from a pretty stressful sandwich shop..) There's a huge audience for what most people consider the simple stuff.
- sprsimplestuff 6y agoyou're not alone lol
- solarkraft 6y agoSame here. Does anyone have a good one?
- 7thaccount 6y agoThat happens a lot on the smalltalk programming language subreddit. Thankfully, most don't mind as there is very little activity anyway.
- brabel 6y agoLOL that's actually hilarious! They are so lonely in their empty reddit that they're maybe even happy when anyone comes around just to say hi or talk about the weather?!
- Rochus 6y agoThe author is obviously enthusiastic. Smalltalk is undoubtedly impressive. However, many heroic sagas are rather marketing hypes than based on true facts. > The Smalltalk galaxy was at the origin of the Graphical User Interface (GUI) Well, the operating system of the Alto and the first groundbreaking WYSIWYG desktop applications were written in BCPL. Sure, Smalltalk did also run on the Alto, but the responsibles apparently have not considered it suitable for practical use. See e.g. http://xeroxalto.computerhistory.org/xerox_alto_file_system_archive.html http://xeroxalto.computerhistory.org/xerox_alto_file_system_.... > And since Java was strongly influenced by Objective-C, Smalltalk’s legacy amplified even more. A bold claim. Actually Java was the implementation of the Simula 67 object model with a C syntax. Smalltalk was not involved here (neither Obj-C). Gosling is quite clear in this respect. The HotSpot JIT eventually was implemented by the folks who were already involved with the Self JIT, but it would be far-fetched to attribute these achievements to Smalltalk. Even more points, but I'm running out of time.
- igouy 6y ago> Smalltalk is undoubtedly impressive. Maybe ST80 was what Alan Kay needed. Maybe what the rest-of-us needed was Modular Smalltalk? "An Overview of Modular Smalltalk" https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=An+Overview+of+Modular+Smalltalk&btnG= https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=An+O...
- Rochus 6y agoActually Smalltalk-72 seems to better reflect Kay's vision of "object-oriented" than Smalltalk-80; see e.g. https://dl.acm.org/doi/abs/10.1145/3386335 https://dl.acm.org/doi/abs/10.1145/3386335. Using tools like ENVY or Objectory you could do decent work in ST. Nevertheless, I switched to other languages like C++ and Java.
- igouy 6y ago> Using tools like ENVY… As many of us did. What I had not previously considered was how the novelty of gui software and the vision may have overwhelmed more mundane concerns. Seems like — even with the image, even with the ST80 language — there could have been a coarse separation into layers of functionality, and that would have been enough to address some of the practical concerns. But that was mundane, not fun.
- the_only_law 6y agoAre any of the commercial Smalltalk implementations worth using anymore? They kinda of strike me as a relic of a past time and I don't understand how some of them are still in business. The Cincom people run "Smalltalk job board" with a depressingly small amount of monthly listings many which involve rewriting Smalltalk systems or are written in such a way which makes you imagine very little Smalltalk is actually used.
- igouy 6y ago> actually used Legacy systems are actually used. If you don't have legacy systems then ride the wave of enthusiasm that comes with using the latest newest tech.
- madhadron 6y agoDolphin is now open source and still a viable way to build Win32 apps. If only I had a need to write apps solely for Windows...
- LarvaFX 6y agoWell there are a few companies that use Cincom, for example Deutsche Bahn, HRworks, OOCL. Others use Pharo. Instantiations is supporting old IBM VASmalltalk installations. But I don't think it makes to much sense in starting new Smalltalk developments besides the learning experience.
- cultus 6y agoI tried to take Pharo for a test drive a while back, but it doesn't support hidpi displays. It would be really cool if someone made an implementation with an IDE for the JVM, like Clojure. Something to make it practical and fit in with modern ecosystems would be great.
- deleted 6y ago[deleted]
- marcAKAmarc 6y agoHonestly, I was really hoping to learn how to make better small talk.
- gambler 6y ago>GNU Smalltalk turned out to be the perfect dialect for this first contact with Smalltalk, offering a very traditional command-line experience. And Vim provided the syntax highlighting I needed to write those initial lines of code. Sorry, but if you're using VIM and command line, you're missing all of the best parts of Smalltalk. It's like trying to learn HTML/CSS by designing web pages in Word. If you want to see what the fuss is really all about, you should download a standalone Pharo VM and latest stable image: https://pharo.org/download https://pharo.org/download It instantly gives you everything you need to learn and develop things with a modern IDE. It has Playground (better REPL), the famed debugger, the code explorer and a bunch of other things. Then listen to MOOC: http://mooc.pharo.org/ http://mooc.pharo.org/ Then buy The Blue Book on Ebay (Smalltalk-80: The Language and its Implementation). Absolutely worth it. Yes, even now. Yes, even if you don't plan to use SmallTalk. If you need help, join Pharo Discord or use the mailing list.
- sigzero 6y agoAgreed. GNU Smalltalk is a non-starter for me. It is not a standard Smalltak environment.
- andrewg 6y agoEarly in my career I wrote Smalltalk in a GUI-based environment (VisualWorks/GemStone), with the browser, debugger, transcript, etc. It was an incredible experience. Later, I used Common Lisp with SLIME and had a very similar experience, at least as productive, except that I was using my preferred IDE (Emacs) and saved the code to normal files so I could use more common tools like grep, SVN/Git, etc. I still built code into an image, which I could update live via the REPL. I haven't used GNU Smalltalk personally, but I do like the idea of a Smalltalk that's less of an island, particularly if that makes it more palatable to a new generation of programmers.
- pmoriarty 6y agoFor a Lisp/Scheme fan who's very on the fence about giving Smalltalk a try, could someone explain in words what all the fuss is about?
- 6y ago
- olah_1 6y agoThere’s enough beginners guides to smalltalk. What there is none of is “smalltalk for working programmers”. Or “do meaningful things with smalltalk”. Pharo has some good guide books, but they still keep things contained just within the single VM. How do I read user input and spit something back out? Does all the activity need to take place inside the VM? Seems so constraining.
- kencausey 6y agoCan you be more specific? I'm sure you realize that there is full modern UI support in any reasonably up to date Smalltalk implementation, it even includes mouse and keyboard input support. If you mean accessing data from the filesystem, yes that can be done as well. And guess what, there is even network support. That said, if it comes down to more OS specific stuff, then yes, you may need to do more work. Squeak/Pharo very directly support loading external modules (platform specific code written specifically to a VM-specific API) as well as a reasonably competent FFI implementation. I have less knowledge of other implementations but I'm sure something similar is also available.
- olah_1 6y ago> I'm sure you realize that there is full modern UI support in any reasonably up to date Smalltalk implementation Contained to the VM itself, yes? I've never seen any information on packaging a GUI and making it presentable to a user. For example, what if I want to style/brand it to not look like Pharo or a smalltalk VM? How limited am I with that? > If you mean accessing data from the filesystem, yes that can be done as well. How? I've never seen it explained in a book, but I could easily have missed it. That's more of what I'm talking about though. For example, how do I read / parse a CSV for the computer? Or better yet, download a CSV from the internet and then parse it. > And guess what, there is even network support. I'm aware of this because I know there's a web framework. I think there's an entire book on this for Pharo.
- igouy 6y agoDifferent Smalltalk implementations have done things differently — so the best answer to many questions is "it depends". > what if I want to style/brand it to not look like Pharo or a smalltalk VM? Use emulated platform widgets or native widgets or invent your own widgets. > Or better yet http://books.pharo.org/booklet-Scraping/html/scrapingbook.html http://books.pharo.org/booklet-Scraping/html/scrapingbook.ht...
- gcorriga 6y agoIf anyone is interested in learning more about Smalltalk by talking to actual users, the UK Smalltalk User Group[1] is running monthly online meetings with presentations. We have recently started recording these meetings, and publishing them online [2] [1] https://www.uksmalltalk.org/ https://www.uksmalltalk.org/ [2] https://vimeo.com/ukstug https://vimeo.com/ukstug