You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note, we could use a shorter name `planet`, but it might be not obvious what planet it refers to. It's nice to be more verbose. At least until the variable isNotTooLong.
9
+
Imajte na umu da bismo mogli koristiti kraći naziv `planeta`, ali možda nije očigledno na koju se planetu odnosi. Lijepo je biti višestruk. Barem dok varijabla nijeNeeeeštoDuuuuuuuža od ovoga.
10
10
11
-
## The name of the current visitor
11
+
## Ime trenutnog korisnika
12
12
13
13
```js
14
-
letcurrentUserName="John";
14
+
letimeTrenutnogKorisnika="Veljko";
15
15
```
16
16
17
-
Again, we could shorten that to `userName` if we know for sure that the user is current.
17
+
Ponovo bismo to mogli skratiti na `imeKorisnika` ako znamo da je korisnik aktuelan.
18
18
19
-
Modern editors and autocomplete make long variable names easy to write. Don't save on them. A name with 3 words in it is fine.
19
+
Moderni urednici i automatsko dovršavanje olakšavaju pisanje dugačkih imena varijabli. Ne štedite na njima. Ime sa tri riječi je sasvim OK.
20
20
21
-
And if your editor does not have proper autocompletion, get [a new one](/code-editors).
21
+
A ako vaš urednik nema pravilno dovršavanje, nabavite [novi](/code-editors).
0 commit comments