Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6591145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:23:15+00:00 2026-05-25T17:23:15+00:00

Say I have func_a and func_b which both take one argument, and I want

  • 0

Say I have func_a and func_b which both take one argument, and I want to pass the result of func_b to func_a.

What is the most common way to parenthesize this?

  1. func_a func_b input
  2. func_a func_b(input)
  3. func_a(func_b input)
  4. func_a(func_b(input))
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:23:16+00:00Added an answer on May 25, 2026 at 5:23 pm

    You’d have to scan source to find the “most common”.

    I try to write what makes sense under the circumstances, but would almost always use either:

    func_a func_b(arg)
    func_a(func_b(arg))
    

    If the functions are named things that “sound like” a sentence or phrase, then I’ll drop as many parens as I can.

    func_a func_b arg
    

    In other words, if it sounds like something I’d say out loud, I’ll write it like I’d say it–a sentence or phrase.

    If it doesn’t sound like something I’d say in real life, needs parens to enhance clarity, etc. then I’ll write it like I’m writing code, because it sounds/looks like code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have a Telerik MVC Grid, AJAX bound and I want to put
Let say I have a list [[a,b,c],[d,e,f],[g,h,i]] I want to get every consecutive element
Here is my problem. I have one file (say, func.inc.php) with autoloader function, registered
Lets say I have a list a=[1,2,3] And I want to know if at
Say I have a function called addUp which takes any number of decimal arguments
Lets say i have a form which have the following : Name:TextBox Email:TextBox Age:TextBox
I have a doubt about if that approach is possible, lets say you want
Say I have a function func(i) that creates an object for an integer i,
Lets say have this immutable record type: public class Record { public Record(int x,
Say I have a select box eg <div data-bind='visible: someProp'> <select class=selectSubWidgets data-bind='options: subWidgets,optionsText:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.