TIL: Apparently lets you use either `<-` or `=` for assignment.

Most other programming languages I've used use `=`, which is often confusing to students. They sometimes think `a = b` means that `a` will *always* equal `b`.

@jmw150 @peterdrake best practice is to use `<-`. The equal `=` is saved for assigning values for parameters in functions.

@peterdrake I started programming so young that I had that opposite issue: I had to learn that = was NOT for assignment when I learned algebra. I remember being very confused at first.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.