In order to treat deformation as one of the processes taking place in an irreversible thermodynamic transformation, two main conditions must be satisfied: (1) strain and stress should be defined in such a way that the modification of the symmetry of these tensorial quantities reflects that of the structure of the actual material of which the deforming ideal continuum is the counterpart; and (2) the unique decomposition of the above tensors into the algebraic sum of an isotropic and an anisotropic part with different physical meanings should be recognized. The first condition allows the distinction of the energy balance in irrotational and rotational deformations; the second allows the description of a thermodynamic transformation involving deformation as a function of both process quantities, whose values depend on the specific transition, or path, between two equilibrium states, and of state quantities, which describe equilibrium states of a system quantitatively. One of the main conclusions that can be drawn is that, dealing with deformable materials, the quantities that must appear in thermodynamic equations cannot be tensorial quantities, such as the stress tensor and the infinitesimal or finite strain tensor usually considered in continuum mechanics (or, even worse, their components). The appropriate quantities should be invariants involved by the strain and stress tensors here defined. Another important conclusion is that, from a thermodynamic point of view, the consideration of the measurable volume change occurring in an isothermal deformation does not itself give any meaningful information.