Programming in Swift: Fundamentals · Tuples |

This is a companion discussion topic for the original entry at

Is there a reason we’d further instantiate (did I use that right?) into theName constant?
Why wouldn’t we just use in our code whenever we want to call it?

…or was this just to show it being called?

(Loving this course, btw, thank you!)

Hey @iusebiro: Thanks for the kind words! Yes, you can use wherever you like in your code; the example in this video is just to show that we’re instantiating a new constant and can assign the contents of to that new constant as if it were just a regular value.

1 Like

At min 3.35 I assume you meant “type inference” not “type interpolation”. By the way great course indeed :+1:

Ah! Yes, thank you. Words are hard. I’m glad you’re enjoying the course.