In the book ML for the Working Programmer, the author writes (my emphasis):
Functional programming and logic programming are instances of declarative programming. The ideal of declarative programming is to free us from writing programs — just state the requirements and the computer will do the rest. Hoare (1989c) has explored this ideal in the case of the Greatest Common Divisor, demonstrating that it is still a dream. A more realistic aim for declarative programming is to make programs easier to understand. Their correctness can be justified by simple mathematical reasoning, without thinking about bytes. Declarative programming is still programming; we still have to code efficiently.
The bolded part about the ideal of declarative programming just doesn’t resonate with me at all as I enjoy programming and do it as a hobby which I’m not employed for (and I particularly enjoy programming in ML languages).
Sometimes I think to myself, did I wander off into a community where my goals and ideals with regard to programming are quite different from the majority? I think the ideal of having all the code written for oneself is understandable and makes sense for someone who just wants to get things done but I enjoy the process of programming and the learning and challenge that it comes with, so it’s not an ideal I share.
So I wanted to ask: is it an ideal shared by many/most people here or by the functional programming more broadly? That’s a question I’ve asked myself before, but I didn’t have a way to answer it so hoping nobody minds me asking here.