Hi Hussein,
Back in the days, wildcard bits were faster to process than subnet masks. Here’s a long discussion about this:
https://learningnetwork.cisco.com/thread/3194
On Cisco IOS we use wildcards for access-lists and also for OSPF network commands. On other devices like the Cisco ASA we use subnet masks for access-lists.
Rene