freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] [freetype2] hooks-via-module-property d94f52b: Use `FT_Pr


From: Moazin Khatri
Subject: Re: [ft-devel] [freetype2] hooks-via-module-property d94f52b: Use `FT_Property_Set' to set the hooks. One less API function.
Date: Sat, 20 Jul 2019 04:34:38 +0500

Just want to express that this is very, *very*, /very/, VERY, bad.

Thank you for pointing that out. However, ... 

The whole property API is a big anti-pattern that FreeType has adopted.  Still, using it to set boolean, integer, or string values is justifiable.

Please explain to me why it's an "anti-pattern"? What's wrong with the property API? What could be a better alternative? Just for my own understanding! :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]