Menu

Ovie Language Fundamentals
πŸ“°

Ovie Language Fundamentals

DEV CommunityΒ·Ovie langΒ·about 6 hours ago
#xb2dbdNM
#devcommunity#dev#seeam#score#number
Reading 0:00
15s threshold

This chapter covers everything you need to write real Ovie programs. We start with the two most important keywords β€” oya and mut β€” and build up from there.

Variables: oya vs mut

Ovie has two ways to declare a variable.

oya β€” immutable. Use this by default.

oya name = "Shedrack"

oya version = 2.3

oya active = true

Once you declare something with oya, its value is set. You cannot reassign it. This is not a limitation β€” it is a feature. When you read code later and see oya, you immediately know that value never changes anywhere in the program.

mut β€” mutable.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.