r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
View all comments
Show parent comment
1
u/No_Pen_3825 Jun 18 '25
Yeah our functions are actually variables too. func foo() is var: foo () -> Void. My point is not that JS can’t do what Swift can; it’s unfair to ask a bird to swim then blame it when it gets outdone by a fish even though they’re both animals. My point is the statement “they’re exactly the same” is outright false.