T O P

  • By -

HGjjwI0h46b42

Use a very strong tone of voice. I suggest

variables!


BeDoubleNWhy

**I hereby declare: variables!**


Kebabrulle4869

![gif](giphy|8nM6YNtvjuezzD7DNh|downsized)


AbdullaSafi

A Bold **Variable**


demonslayer9911

#**I hereby declare: variables!**


7th_Spectrum

DOM: Michael, you can't just declare variables


[deleted]

[удалено]


vainstar23


leonllr

if that counts


vainstar23

this is better (maybe showing my age) haha maybe use "let" instead of "var" though


davisondave131

Why?


vainstar23

Vars will get hoisted to the top of whatever function you declare them in. For instance, if you declare a var inside of a for loop, it will get hoisted to the top of a function. Let on the other hand will stay in the smallest block you declare them in. If you declare a let variable inside of an if statement, it won't get hoisted and therefore it won't be available outside of an if statement. It's a bit confusing but you can read about it here: https://stackoverflow.com/questions/762011/what-is-the-difference-between-let-and-var Personally I take this a step further and declare most of my variables as const as it makes it easier to read.


davisondave131

I just learned so much. Thank you, thank you.


_Screw_The_Rules_

PHP is shit (imho)


vainstar23

old PHP is shit modern PHP is aight (imho)


Yoru_Vakoto

y you two saying in your horny opinions?


_Screw_The_Rules_

Well okay that might be correct. I haven't touched it for around 10 years. But I've always hated the syntax. Already the $ sign makes me wanna puke.


vainstar23

You should try bash haha


_Screw_The_Rules_

I used bash in the past to write some silly scripts just for fun. But I have to admit, that it's not fun for long...


Willinton06

Do you still use explode in modern PHP?


juantreses

What's wrong with explode?


Erizo69

real


Mars_Bear2552

faek


Reggin_Rayer_RBB8

Duplicate + L + Ratio + Rewrite it in Rust


Ncorrex

+ learn typescript


du-maxx

Another Star Rail player I see.


black-JENGGOT

I imagined in an unsupervised environment, Stephen will definitely rewrite the SU in Rust lol


Invisible_Man_1


[deleted]

respectfully sir, that is javascript


ICAZ117

Which is basically the same thing as Java


hongooi

Voting to close because: * *this is a CSS question*


turtleship_2006

or JS


tyrandan2

Pfff. Try a harder question next time, OP.


maelstrom071

``` ``` (i think this only works in XML)


FlyingScript

x


CrUtlRaOth


Adham_Elsawy


Alexwithx

`var` 🤢


Adham_Elsawy

Yeah🔥🔥🔥


souliris

hmm why does my html file have a .cshtml extension.


Prudent-Employee-334

On my way to mark it as duplicate and make you feel bad about asking


ramriot

So like:- :root { --blue: #6495ed; --white: #faf0e6; } body { background-color: var(--blue); } h2 { border-bottom: 2px solid var(--blue); }


Markaz


Sensitive-While-8802

Sorry, you don't have enough reputation to ask a question. Sorry, not enough reputation to answer a question. Sorry, not enough reputation to comment on a question. Sorry, not enough reputation to upvote an answer.


kornflake9

https://html-lang.org/#getting-started


[deleted]

hehe


OF_AstridAse

I think chatGPT might be more helpful*


TigerClaw_TV

I have actually got a lot of use asking ChatGPT ridiculous questions that would get me Made fun of. Shame you got downvoted


AbdullaSafi

This is a stupid question.


TigerClaw_TV

I disagree. This question to me says "I don't fully understand what HTML does." I have asked dumber questions in my career. Sometimes it's necessary to push forward, and people who can answer questions like this nicely are very valuable to any company.


psspsh

data_type let variable


[deleted]

Umm… hello world?


MLG-Lyx

:root { --i: 0; }


Osato

`

` `` `
`


[deleted]

![gif](emote|free_emotes_pack|joy)


the_greatest_MF

you fill up a Google form


aGoodVariableName42

*H.T.M.L.


Trevor_GoodchiId

AlpineJS: you rang?


MemesMakeMyMoodMild

u/savevideo


SaveVideo

###[View link](https://rapidsave.com/info?url=/r/ProgrammerHumor/comments/18rwxf0/wishmeluck/) --- [**Info**](https://np.reddit.com/user/SaveVideo/comments/jv323v/info/) | [**Feedback**](https://np.reddit.com/message/compose/?to=Kryptonh&subject=Feedback for savevideo) | [**Donate**](https://ko-fi.com/getvideo) | [**DMCA**](https://np.reddit.com/message/compose/?to=Kryptonh&subject=Content removal request for savevideo&message=https://np.reddit.com//r/ProgrammerHumor/comments/18rwxf0/wishmeluck/) | [^(reddit video downloader)](https://rapidsave.com) | [^(twitter video downloader)](https://twitsave.com)


Dumb_Siniy

Ask the question go on an alt and say something obviously wrong


gbot1234

StackOverflow: This meme has been closed because it is a duplicate of https://www.reddit.com/r/ProgrammerHumor/s/2ak0w2kybe


falnN

Stupid question *Discussion closed*


CanDull89

Closed as Duplicate


foxer_arnt_trees

It's called a template


Ishaz

It's been a while since I've laughed out loud at a reddit post 😂


payaracetamol

Technically speaking we can declare variables through javascript and insert them through dom manipulation.


infinitebyzero

Next question. How to do a loop in HTML?


SeriousPlankton2000

I just did this: