@ekaitz_zarraga @cwebber @civodul I think it's because all POSIX procedures have traditionally gone into the default environment.
Conversation
Notices
-
dave (dthompson@toot.cat)'s status on Friday, 27-Jan-2023 21:38:37 CET dave -
dave (dthompson@toot.cat)'s status on Friday, 27-Jan-2023 20:38:03 CET dave ruh roh guile 3.0.9 adds "spawn" to the default environment but guile-goblins uses "spawn" to make actors and that word was chosen because it *wasn't* in the default environment... until this week! wish I had been thinking about this before when I saw the POSIX spawn stuff happening.
-
Christine Lemmer-Webber (cwebber@octodon.social)'s status on Friday, 27-Jan-2023 21:38:33 CET Christine Lemmer-Webber @technomancy @jfred @dthompson @ekaitz_zarraga @civodul Yeah "from foo import *" is considered bad form in Python but it's kind of the default in Guile
-
tech? no! man, see... (technomancy@icosahedron.website)'s status on Friday, 27-Jan-2023 21:38:34 CET tech? no! man, see... @jfred @cwebber @dthompson @ekaitz_zarraga @civodul it was such a relief when Clojure deprecated non-prefixed imports; being able to tell at a glance whether a given identifier is local or not may add a tiny bit of verbosity but the extra clarity more than makes up for it
Ekaitz Zárraga 👹 repeated this. -
Christine Lemmer-Webber (cwebber@octodon.social)'s status on Friday, 27-Jan-2023 21:38:36 CET Christine Lemmer-Webber @dthompson @ekaitz_zarraga @civodul In that sense it's kinda reasonable
but it kinda sucks for us
-
Jonathan Frederickson (jfred@jawns.club)'s status on Friday, 27-Jan-2023 21:38:36 CET Jonathan Frederickson @cwebber @dthompson @ekaitz_zarraga @civodul Part of me wishes Guile imports were always namespace-prefixed by default. You can do it manually but defaulting to prefixes would help avoid things like this (at the cost of a little verbosity)
-
Christine Lemmer-Webber (cwebber@octodon.social)'s status on Friday, 27-Jan-2023 21:53:51 CET Christine Lemmer-Webber @dthompson @technomancy @jfred @ekaitz_zarraga @civodul Yeah I usually use #:select instead of prefixing, but sometimes prefixing is really convenient!
-
dave (dthompson@toot.cat)'s status on Friday, 27-Jan-2023 21:53:52 CET dave @cwebber @technomancy @jfred @ekaitz_zarraga @civodul I think I prefer the "import what you need" approach over "prefix all imports".
-