Divi WordPress Theme

Topic: macro over a function ?  (Read 172 times)

Offline kavitajain9782

  • New Member
  • *
  • Posts: 23
  • iTrader: +0/-0
    • View Profile
macro over a function ?
« on: April 04, 2019, 01:07:46 PM »
Hello Dear,

                Please Tell Me  Advantages of a macro over a function?
VPS Hosting - AccuWebHosting

Offline ServersBase

  • New Member
  • *
  • Posts: 25
  • iTrader: +0/-0
    • View Profile
Re: macro over a function ?
« Reply #1 on: April 27, 2019, 10:45:03 PM »
One advantage is that You can use simple small names for a number of statements. You can even define macros for functions. When writing macros for functions, they saves a lot of time that is spent by the compiler for invoking / calling the functions. Hence, The advantage of a macro over an actual function, is speed.
Shopify Divi WordPress Theme
Tags: