Live data from Hacker News

New to programming/OOP – Should I start with Smalltalk?

news.ycombinator.com

1–5 of 5 posts

New to programming/OOP – Should I start with Smalltalk?

#1
New programmer here and I want to learn and get a better grasp of OOP - and I read smalltalk can be good for that? Personally, I would do OOP in C# and Java but their syntax is scaring me right now lol

Do you think I should go towards smalltalk just to learn OOP concepts - Although I do know industry wise not many are using it professionally.

Re: New to programming/OOP – Should I start with Smalltalk?

#4
Unless you are a complete beginner, i.e. you have already tried writing small procedural programs, spending a few days with Smalltalk won't hurt. It would be good to get the hang of it over time anyway, and in Smalltalk the basics of OOP are used in a very clean and simple form that will make it easier for you to understand elsewhere.

I recommend going through the Pharo MOOC materials and be sure you understand the concepts of classes, MessageNotUnderstood, metaclasses, closures, navigating the collections library, basic design patterns. You can do it in parallel with other learning activities with different languages.

Re: New to programming/OOP – Should I start with Smalltalk?

#5
post #4

Unless you are a complete beginner, i.e. you have already tried writing small procedural programs, spending a few days with Smalltalk won't hurt. It would be good to get the hang of it over time anyway, and in Smalltalk the basics of OOP are used in a very clean and simple form that will make it easier for you to understand elsewhere. I recommend going through the Pharo MOOC materials and be sure you understand the c…

I second this recommendation. I didn't get properly OOP until I learned Pharo. Before that I had the impression it was just a more convoluted way of doing plain old imperative programming. Full immersion in a proper environment really helps getting the core concepts. Besides the MOOC, there's also a lot of free books available at https://books.pharo.org/