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

  • Home
  • SEARCH
  • 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 63375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:37:22+00:00 2026-05-10T18:37:22+00:00

Which of theese two alternatives do you find yourself using most often, and which

  • 0

Which of theese two alternatives do you find yourself using most often, and which is more ‘idiomatic’?

  1. f arg (obj.DoStuff())
  2. f arg <| obj.DoStuff()
  • 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. 2026-05-10T18:37:23+00:00Added an answer on May 10, 2026 at 6:37 pm

    Overall, I don’t know that one or the other is more idiomatic.

    Personally, the only time I use <| is with ‘raise’:

    raise <| new FooException('blah') 

    Apart from that, I always use parens. Note that since most F# code uses curried functions, this does not typically imply any ‘extra’ parens:

    f arg (g x y) 

    It’s when you get into non-curried functions and constructors and whatnot that it starts getting less pretty:

    f arg (g(x,y)) 

    We will probably at least consider changing the F# languages rules so that high-precedence applications bind even more tightly; right now

    f g() 

    parses like

    f g () 

    but a lot of people would like it to parse as

    f (g()) 

    (the motivating case in the original question). If you have a strong opinion about this, leave a comment on this response.

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

Sidebar

Ask A Question

Stats

  • Questions 65k
  • Answers 65k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer change the regex to this: !(/[^A-zÑñ0-9 ,\.;]*$/i) also, the function… May 11, 2026 at 11:12 am
  • added an answer It looks like part of your code got cut off,… May 11, 2026 at 11:11 am
  • added an answer Can you really not accomplish that with java.swing.text.HTMLDocument? I have… May 11, 2026 at 11:11 am

Related Questions

Which of theese two alternatives do you find yourself using most often, and which
I want to swap two integers, and I want to know which of these
I have these two pieces of code, wich one is more readable? foreach decimal
Which of these pieces of code is faster? if (obj is ClassA) {} if
I'm trying to figure out which of these interfaces I need to implement. They
Do you use any of these technologies? Which ones are current and hence sensible
I cannot find comparison of these parsing technique. Which one is most commonly used?
In what domains do each of these software architectures shine or fail? Which key
Which of the following has the best performance? I have seen method two implemented
Which of the following is better code in c# and why? ((DateTime)g[0][MyUntypedDateField]).ToShortDateString() or DateTime.Parse(g[0][MyUntypedDateField].ToString()).ToShortDateString()

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.