Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
functions in a dictionary
#3
i use "ugly" for programming code in a broader sense than just the opposite of "pretty". it also include "inelegant" and other bad things. i wanted to point out doing "def" followed by assigning its name to another. but it makes natural sense to me to assign a lambda to a variable and that's the name of the function. this is because some of the languages i have work with in the past did their functions that way. they just used "function" or some syntactic expression and not "lambda". i wanted to see if anyone disagreed with any part of that.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
functions in a dictionary - by Skaperen - Apr-25-2019, 11:05 PM
RE: functions in a dictionary - by woooee - Apr-26-2019, 12:25 AM
RE: functions in a dictionary - by Skaperen - Apr-26-2019, 03:45 AM
RE: functions in a dictionary - by Skaperen - Apr-27-2019, 12:24 AM
RE: functions in a dictionary - by perfringo - Apr-26-2019, 06:21 AM
RE: functions in a dictionary - by DeaD_EyE - Apr-26-2019, 06:34 AM
RE: functions in a dictionary - by rxndy - Apr-27-2019, 02:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  functions and dictionary spalisetty06 3 1,947 Aug-22-2020, 04:50 PM
Last Post: jefsummers

Forum Jump:

User Panel Messages

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