Skip to main content
16 events
when toggle format what by license comment
Dec 20, 2022 at 15:15 history protected gnat
Dec 19, 2022 at 22:59 comment added OnceAndFutureKing ^I meant object where I said variable here, and my use of the word symbol is confusing XD but other than that the point stands, redefining things does not a dynamic language make (and if that was the only difference then yes you could make it static - see rust).
Dec 19, 2022 at 22:50 comment added OnceAndFutureKing As a note, in duck typed languages a variable's type is generally immutable. The construct you're describing where symbols can be rebound, so 'var1 = 1; var1 = 'hello';' will work, is also found in static languages like Rust and C++ and is a quite different idea.
Dec 19, 2022 at 22:45 answer added OnceAndFutureKing timeline score: 0
Dec 17, 2022 at 19:43 answer added Cort Ammon timeline score: 2
Dec 17, 2022 at 16:52 answer added Telastyn timeline score: 2
Dec 16, 2022 at 15:41 answer added Patrick Dixon timeline score: 2
Dec 16, 2022 at 15:00 history tweeted twitter.com/StackSoftEng/status/1603766909530509312
Dec 15, 2022 at 18:49 history edited SeriousBusiness100 CC BY-SA 4.0
edited title
Dec 15, 2022 at 8:31 answer added Hans-Martin Mosner timeline score: 0
Dec 15, 2022 at 4:25 history edited SeriousBusiness100 CC BY-SA 4.0
added 17 characters in body
Dec 15, 2022 at 0:42 history edited SeriousBusiness100 CC BY-SA 4.0
deleted 68 characters in body
Dec 15, 2022 at 0:12 history edited SeriousBusiness100 CC BY-SA 4.0
added 28 characters in body
Dec 15, 2022 at 0:11 comment added Ben Cottrell It sounds like you may be after something like TypeScript's structural typing? - typescriptlang.org/docs/handbook/type-compatibility.html
S Dec 15, 2022 at 0:08 review First questions
Dec 16, 2022 at 10:56
S Dec 15, 2022 at 0:08 history asked SeriousBusiness100 CC BY-SA 4.0