Professional Programmer Proves Prolog Prolongs Productivity

Professional Programmer Proves Prolog Prolongs Productivity


At least… probably πŸ™ƒ

productive(X) :- not(takes_breaks(X)).
takes_breaks(X) :- not(debugging(X)).
debugging(X) :- uses_prolog(X).

programmer(aurora).
programmer(eventide).

uses_prolog(aurora).
uses_javascript(eventide).
Enter fullscreen mode

Exit fullscreen mode

Prolog is a logical language. Therefore, its output is truth:

?- productive(aurora).
true.

?- productive(eventide).
false.
Enter fullscreen mode

Exit fullscreen mode

Hence, the conclusion: Prolog prolongs productivity, Q.E.D.

Note: This is an April Fools’ Day joke post!



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *