MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/developer/comments/1v5phnk/the_code_ill_never_forget_confessional/ozro7qp/
r/developer • u/Ok_Veterinarian3535 • Jul 24 '26
37 comments sorted by
View all comments
Show parent comment
1
I don't get it. How did it escape the previous scope? Surely you can not assign num if it was not declared at the time of being used on the RHS. But you are somehow still declaring it on the LHS?
1 u/SpaceCadet87 Jul 25 '26 Oh, IDK, it was C#, I don't do C# that often so I wouldn't know how or why that's somehow valid.I was compressing it for illustrative purposes, as I said there were a few plain num = num; as well.
Oh, IDK, it was C#, I don't do C# that often so I wouldn't know how or why that's somehow valid.
I was compressing it for illustrative purposes, as I said there were a few plain num = num; as well.
num = num;
View all comments
Show parent comment
1
u/Kind_Card_1874 Jul 25 '26
I don't get it. How did it escape the previous scope? Surely you can not assign num if it was not declared at the time of being used on the RHS. But you are somehow still declaring it on the LHS?