2024-03-06 00:03:50 I let it all hang out 2024-03-06 00:35:47 i am a crazy tor-using tin foil hat-wearing anonymous petson, so i am always afraid that somehow, some day, very unique code will represent some vector that traces back to me 2024-03-06 00:42:13 Must be nice 2024-03-06 11:43:41 can we say that forth is a functional language? 2024-03-06 11:47:35 come forth and say it 2024-03-06 11:55:46 https://github.com/ForthHub/ForthFreak/blob/master/FunForth 2024-03-06 14:07:16 https://wiki.c2.com/?ForthVsLisp 2024-03-06 14:08:54 I think functional vs imperative is more about heritage than anything else, I personally would say Forth is imperative with some functional features 2024-03-06 14:09:51 I think quotation-heavy forths are much closer to Lisp than normal Forths, and yet are still feel imperative to me 2024-03-06 14:10:05 Even if they have lots of functional combining features 2024-03-06 14:10:43 Forth's definitely its own thing, either way 2024-03-06 14:11:20 saying that lisp is functional would also be rather inaccurate 2024-03-06 14:11:56 You can write pure functions in most languages 2024-03-06 14:12:04 most development in lispland revolves around mutating state 2024-03-06 14:12:22 generally programming languages are not functional, imperative etc -- programming styles are 2024-03-06 14:12:46 some programming languages nudge the programmer towards one or another style, but you may write OOP code in assembly and functional code in BASIC 2024-03-06 14:15:48 The whole imperative vs functional thing is not that important, really 2024-03-06 14:20:44 from the data structure and algorithm perspective it is rather important 2024-03-06 14:23:41 Do you mean re functions defined as what-it-does vs what-it-is? 2024-03-06 14:24:40 no, regarding assumptions you can make about data. i.e if it is not mutable, then you may safely capture partial evaluation result 2024-03-06 14:24:49 (or store it for later introspection) 2024-03-06 14:25:38 and functions take quite a different shape when they mutate data vs when they do not 2024-03-06 14:26:39 in practice good functional code is not really functional, but it preserves referential transparency 2024-03-06 14:26:50 (imo) 2024-03-06 14:27:35 This is about pure functional 2024-03-06 14:28:44 I mean functional in sense that e.g. Lisp is generally considered functional under 2024-03-06 14:31:25 as in having higher order functions that may be passed as arguments? 2024-03-06 14:36:47 I think it's more about history and wishy-washy proximity to lambda calculus 2024-03-06 14:37:50 I see; in that case I agree that the difference is irrelevant 2024-03-06 14:38:50 as a side note, the prevailing programming style in lisp is today OOP with generic functions taking the spotlight (unlike, say, smalltalk, where objects are in the center) 2024-03-06 15:04:44 forth is not functional, it is wordy 2024-03-06 17:27:37 I dunno if it's functional, but I'd say it's fun. 2024-03-06 17:28:38 considering that no two forth users can agree on a basic vocabulary, maybe it's best to describe it as dysfunctional 2024-03-06 19:02:17 ACTION chuckles sensibly 2024-03-06 23:40:55 https://spectrum.ieee.org/data-storage-petabit-optical-disc 2024-03-06 23:41:13 Wow. 2024-03-06 23:42:07 My interest in Forth, though, is not how I can use it to team program - I'm interested in it for what I can do with it solo. 2024-03-06 23:42:27 And it's the only tool I know how to build myself from scratch in a reasonable length of time. 2024-03-06 23:45:22 1.6 petabits on a DVD-size disc.