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 7512449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:52:23+00:00 2026-05-29T23:52:23+00:00

For example, I am now learning wxPython, specifically a class’ init function: __init__(self, parent,

  • 0

For example, I am now learning wxPython, specifically a class’ init function:

__init__(self, parent, id=-1, label=EmptyString, pos=DefaultPosition,
 size=DefaultSize, style=0, name=StaticTextNameStr) 

As a matter of good programming practice, should I memorize the order of the parameters, or just the keywords and call the function using the keywords everytime? Is it better to do the latter for readability?

  • 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-29T23:52:25+00:00Added an answer on May 29, 2026 at 11:52 pm

    Memorize? No. That’s what the documentation (including source code) is there for.

    That being said, sometimes using keyword arguments helps the code clarity, particularly for functions which take a large number of parameters. And you should always strive to write clear code, especially in Python where the source code is meant to supplement the documentation.

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

Sidebar

Related Questions

For example I now created a this tiny class: public static class FileSystemInfoComparers<T> where
I have been progressing through Learn Prolog Now! as self-study and am now learning
now i am learning intent filters..I got some some example like view contacts,make call.But
I am learning SmallTalk now using Squeak4.1. I use Squeak by Example as a
I am learning VML right now. And I noticed that each example contains two
I'm studying C# right now and currently learning threading. Here is a simple example
I'm learning node.js now. Whenever I ran node example.js it says http.js:529 var key
I've just started learning Jquery but the examples aren't helping me much... Now whats
I would like to know many minutes between 2 dates? Example : Now -
UPDATE 2011.09.13 This bug has been resolved by Adobe. The example code below now

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.