MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g320tnz/?context=3
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
95
"Javascript goes b" + "r".repeat(10)
12 u/Professor_Dr_Dr Aug 26 '20 repeat is better, way more readable in a lot of casesI mean hell, if you multiply two variables how are you supposed to know which one is the String and even if the result will be a String at all (instead of e.g. an int) 0 u/[deleted] Aug 27 '20 [deleted] 1 u/Professor_Dr_Dr Aug 27 '20 Doesn't work, I have not once seen someone use a variable like idString or idLong even though it might be either of those.Sensible names won't fix everything and even if they did most wouldn't use them regardless → More replies (1)
12
repeat is better, way more readable in a lot of cases
I mean hell, if you multiply two variables how are you supposed to know which one is the String and even if the result will be a String at all (instead of e.g. an int)
0 u/[deleted] Aug 27 '20 [deleted] 1 u/Professor_Dr_Dr Aug 27 '20 Doesn't work, I have not once seen someone use a variable like idString or idLong even though it might be either of those.Sensible names won't fix everything and even if they did most wouldn't use them regardless → More replies (1)
0
[deleted]
1 u/Professor_Dr_Dr Aug 27 '20 Doesn't work, I have not once seen someone use a variable like idString or idLong even though it might be either of those.Sensible names won't fix everything and even if they did most wouldn't use them regardless → More replies (1)
1
Doesn't work, I have not once seen someone use a variable like idString or idLong even though it might be either of those.
Sensible names won't fix everything and even if they did most wouldn't use them regardless
→ More replies (1)
95
u/ilmmec Aug 26 '20
"Javascript goes b" + "r".repeat(10)