GoByte makes the link. You see the clicks.
GoByte makes a short link, a QR code, or a bio page, then shows the clicks. The free programming lessons are on this blog when you want to learn a language.
What you make in GoByte
A short link, a QR code, a page for the links you share, and a report of the clicks.
GoByte Skills, start here: episode 1
Go channels: the queue that says no
GoByte Skills #1: A buffered channel is a bounded queue. When it is full, the send parks until there is room, so the slow consumer sets the pace. Backpressure in one argument to make(), plus the exact order a real run prints.
27 of 27 published. Each lesson is one mechanism you can use. It is ready when the code runs and the explanation holds. Newest: Vim macros: a register full of keystrokes
Latest
RSS-
Vim from zero: the dot command repeats the change
The dot command repeats the last change. cwadd turns the word under the cursor into add. Dot on the next order line does it again.
-
Vim from zero: an operator needs a motion
An operator does nothing until it has a motion. dw deletes from the cursor through the next word. On item latte = "oat", with the cursor on item, dw leaves latte = "oat".
-
Vim from zero: a text object is the thing you act on
A text object names a span of text. i" is the inside of the double quotes. di" on item latte = "oat" deletes oat and leaves the quotes.
-
Vim from zero: the text is the data
A Vim buffer is text. w moves to the next word. On the line item latte = "oat", w from the start lands on latte.
-
TypeScript from zero: copy before you change a field
An object spread copies the fields and replaces one. The original latte stays 450 cents. The tipped copy is 540. The program prints 450 540.
-
TypeScript from zero: a class bundles the method
A class holds the fields and the method together. new Item makes a latte. label prints latte $4.50.
-
TypeScript from zero: an object has fields
An object type names the fields. Item has a drink and a price in cents. label takes an Item and the program prints latte $4.50.
-
TypeScript from zero: a name has a type
A TypeScript name can carry a type. name is a string, cents is a number, and ready is a boolean. The program prints latte $4.50 ready.
-
Shell from zero: a function is the reusable piece
A function packages a command you want to repeat. label prints a drink and its price. The program prints latte $4.50.
-
Shell from zero: a number is still text until you ask
A variable that looks like a number is text. $((cents * 2)) evaluates it as arithmetic. The program stores 450 and prints 900.
-
Shell from zero: quote the expansion
A value with a space splits into two words if you leave the quotes off. "$name" keeps it one value. The program prints oat latte.
-
Shell from zero: a variable holds text
A shell variable holds text. item=latte stores latte, and echo prints it. There are no spaces around the equals sign.
Free lessons
All coursesData types, objects, and the tips that make a program easier to change. Each lesson has a sample you can read on the page.