Building an Object World from Scratch — a live Smalltalk-like environment
Back To Code
0:00 / 0:00
Building an Object World from Scratch — a live Smalltalk-like environment
6 просмотров · 23 ч назад
Back To Code
325 подписчиков
6 просмотров · 23 ч назад
In this video we build "Object World": a live environment in the browser where
everything is an object, objects communicate only by sending messages, and the
programs you write are objects too.
There is no framework and no build step. You assemble interfaces from a hundred
pre-made object classes, wire them together by dragging, edit the running code,
and write a class of your own that immediately becomes reusable.
Along the way we build a thermostat from scratch — first by hand on the canvas,
then as nine lines of code — and deliberately break it to see what the error
reporting looks like.
CHAPTERS
0:00 Back to Code
0:32 Welcome
1:18 The catalogue
2:15 Placing objects
2:50 What a class looks like
3:39 Wiring
4:20 Sending a message by hand
5:01 Layout is just fields
5:46 A program is an object
6:44 Live editing
7:22 Building part one
8:00 Building part two
8:50 When it goes wrong
9:27 Your own object
10:10 Reuse
10:46 Reading someone else's app
11:32 Recap
12:11 Outro