It raises an interesting point, however.
Things that are made for practical purposes are not art, right? The thing with software is that the code is hidden from view.
There is an opportunity to make something practical by writing very impractical code, that for example, has variables named after fantasy characters, functions having some sort of narrative arc to their naming, maps "drawn" in ASCII...
TheGoblinKing.smites(our_hero) could be a method to reverse an array.
Again, highly impractical, but with a practical result.
Architecture has a similar duality, but in a different kind of way... buildings are indeed functional, but is there no art to the practice of designing them? No room for ornament, expression, or "impractical" intent? For example, ideologies can be encouraged through buildings by manipulating people's response to their sublime grandeur or nostalgia... this seems like a much more artistic and philosophical pursuit that goes well beyond just the pure function of the building as a place to keep things separate from the outside world.