DEV Community

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)