MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xvuqmq/cppythrusgosharp/19sn4hftqmc74/
r/ProgrammerHumor • u/Depixelation • 13d ago
37 comments sorted by
View all comments
Show parent comment
3
typescript has access modifiers, if this were in a class the only issue would be that classes use readonly instead of const for some reason (c# influence I guess?)
readonly
const
1 u/FoxedDev 11d ago Ohh, true 1 u/the_horse_gamer 3h ago I think it's cuz readonly gets stripped during transpiling , but not const
1
Ohh, true
I think it's cuz readonly gets stripped during transpiling , but not const
View all comments
Show parent comment
3
u/Aurarora_ 12d ago
typescript has access modifiers, if this were in a class the only issue would be that classes use
readonlyinstead ofconstfor some reason (c# influence I guess?)