3 ms·
In the small, all paradigms are the same. print "Hello World" with suitable syntax tweaks, is imperative, functional (that code works in Haskell), declara
by jerf 11y ago
In the small, all paradigms are the same.
print "Hello World"
with suitable syntax tweaks, is imperative, functional (that code works in Haskell), declarative, and logical (Prolog has a print). Or, more accurately, is simply too small to be usefully discussed in this context. You have to pick something larger to talk about.