snek_boi@lemmy.ml to Programming@programming.dev · 1 year agoAre there contemporary programming languages that do NOT have the ability to import functions or values or whatever from other files? Are there situations in which that would be a feature?message-squaremessage-square17fedilinkarrow-up145arrow-down10
arrow-up145arrow-down1message-squareAre there contemporary programming languages that do NOT have the ability to import functions or values or whatever from other files? Are there situations in which that would be a feature?snek_boi@lemmy.ml to Programming@programming.dev · 1 year agomessage-square17fedilink
minus-squarevector_zero@lemmy.worldlinkfedilinkarrow-up1·1 year agoKnowing programmers, I think a major unintended side effect of such a paradigm would be HUGE monolithic source files.
minus-squaresparr@lemmy.worldlinkfedilinkEnglisharrow-up3·1 year agoNah, you’d just get a preprocessor like C/C++ to do #include for you prior to compiling.
Knowing programmers, I think a major unintended side effect of such a paradigm would be HUGE monolithic source files.
Nah, you’d just get a preprocessor like C/C++ to do #include for you prior to compiling.