Python Forum
'namespace' shorthand for function arguments?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'namespace' shorthand for function arguments?
#2
What, exactly, is wrong with having to write hand.value, for example?

It's a shame that you mutate hand instead of creating a new one, though (immutability is a really good idea - look up Rich Hickey's talk titled "The Value of Values" for a good explanation).
Reply


Messages In This Thread
RE: 'namespace' shorthand for function arguments? - by ndc85430 - Aug-10-2021, 07:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  which namespace? Skaperen 4 1,308 May-28-2024, 05:38 AM
Last Post: Gribouillis
  calling external function with arguments Wimpy_Wellington 6 2,948 Jul-05-2023, 06:33 PM
Last Post: deanhystad
  If with For statement shorthand? kaega2 5 2,134 Sep-06-2022, 08:12 PM
Last Post: Gribouillis
  Checking the number of arguments a function takes Chirumer 3 2,970 Jul-06-2021, 04:56 PM
Last Post: Chirumer
  Possible to dynamically pass arguments to a function? grimm1111 2 2,924 Feb-21-2021, 05:57 AM
Last Post: deanhystad
  [PyKML] Loop through all Placemarks; Remove namespace Winfried 2 4,682 Aug-28-2020, 09:24 AM
Last Post: Winfried
  How to pass multiple arguments into function Mekala 4 3,412 Jul-11-2020, 07:03 AM
Last Post: Mekala
  How to give a name to function arguments in C-API? WonszZeczny 0 1,792 Jun-22-2020, 10:20 AM
Last Post: WonszZeczny
  cant understand the logic behind shorthand form of operator pradeep_sn 2 2,373 May-20-2020, 06:53 PM
Last Post: buran
  Function Recognises Variable Without Arguments Or Global Variable Calling. OJGeorge4 1 3,040 Apr-06-2020, 09:14 AM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020