DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,911 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
SD-Technology
SD-Technology

Posted on

Constants and Variables

Hello world!
The journey today revealed that constants are similar to variables. A constant is a variable that always starts with a capital letter. They are mostly used for variables that aren't going to change.
Example
SHOE=sandal
SHOE is the constant

Also, the discovery revealed that embedded Ruby tags exists. Embedded Ruby tags look like this:
<%= =%>
<% %>

Top comments (0)

🌚 Life is too short to browse without dark mode