Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Need opinions about using methods in-line

$
0
0

Hello fellow SDNers,

 

I have this piece of code where i use functional method as operand, string formatting options in-line et al. A friend of mine says it's not too descriptive.

 

  cl_demo_output=>display_text( |Laufzeit: { lcl_calc_laufzeit=>main(                                                 im_date_from = p_begda                                                 im_date_to   = p_endda )-count ALIGN = LEFT } Monat(e)| ).

 

Is Too-little is just too confusing?

 

I like in-line data declarations, functional methods because i feel they are more intuitive.

 

What are your ideas/opinions about it?

 

BR,

Suhas


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>