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-up150arrow-down11
arrow-up149arrow-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-up2·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-up5·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.