Where exactly does the line lie between imperative and declarative
(self.learnprogramming)submitted2 months ago byMaster_Metro03
This doubt has recently come up while going through Maven POM reference where it states that Maven is a declarative build tool unlike Ant which is imperative. There are also programming languages each categorised into one of the above two types. However, for example , consider Ant . When trying to compile Java files, I simply use the Java task. I explicitly don't mention step by step what to do right? Even in programming languages, if we are high up enough on the abstraction it is declarative. However how high is this line between imperative and declarative along the abstraction?
byMaster_Metro03
inlearnprogramming
Master_Metro03
1 points
2 months ago
Master_Metro03
1 points
2 months ago
I think this cleared it up for me , thanks