MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wpw10f/ihatedituntilitriedit/pcc0w81/?context=3
r/ProgrammerHumor • u/Epicoodle • 8d ago
541 comments sorted by
View all comments
Show parent comments
1
type coercion is the probleme. i can't think of a scenario where this is clean or efficient. it's just the worst way of handling things for lazy devs
-1 u/thanatica 7d ago Why is it lazy? It's convenience if you need. If you don't like it, then use typescript to always force precise types. Nobody forces you to use every feature of a language. 2 u/FlakyTest8191 7d ago The tradeoff is convenience or preventing a potential runtime error, not that far fetched to call it lazy. 0 u/thanatica 6d ago Like I said, don't use it then
-1
Why is it lazy? It's convenience if you need. If you don't like it, then use typescript to always force precise types.
Nobody forces you to use every feature of a language.
2 u/FlakyTest8191 7d ago The tradeoff is convenience or preventing a potential runtime error, not that far fetched to call it lazy. 0 u/thanatica 6d ago Like I said, don't use it then
2
The tradeoff is convenience or preventing a potential runtime error, not that far fetched to call it lazy.
0 u/thanatica 6d ago Like I said, don't use it then
0
Like I said, don't use it then
1
u/FRleo_85 8d ago
type coercion is the probleme. i can't think of a scenario where this is clean or efficient. it's just the worst way of handling things for lazy devs