Do you have principles?

  • (2 Pages)
  • +
  • 1
  • 2

18 Replies - 4271 Views - Last Post: 25 January 2011 - 10:39 AM Rate Topic: -----

#16 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 756
  • View blog
  • Posts: 1,990
  • Joined: 23-December 08

Re: Do you have principles?

Posted 23 January 2011 - 08:39 PM

Quote

Embrace bugs and errors. They help you learn.

As a professional software engineer, I can tell you that these are good words to live by.

As for the Zen of Python, I will say I have a problem with the ol' "There should be only 1 way to do something" mentality. No, just no.

This post has been edited by atraub: 23 January 2011 - 08:40 PM

Was This Post Helpful? 0
  • +
  • -

#17 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5643
  • View blog
  • Posts: 12,359
  • Joined: 16-October 07

Re: Do you have principles?

Posted 24 January 2011 - 07:48 AM

I like the idea of "one way to do it." I have yet to see it successfully implemented in any language.

My personal motto is much like the "Embrace bugs" one; "Make different mistakes." That is, you will make mistakes. That's fine, you learn much more from failure than success. The trick is, to learn from the mistake you made so you needn't repeat it.
Was This Post Helpful? 0
  • +
  • -

#18 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 756
  • View blog
  • Posts: 1,990
  • Joined: 23-December 08

Re: Do you have principles?

Posted 24 January 2011 - 11:56 AM

The problem with the 'one way to do it' mentality is that too many people misinterpret it and then think there's only 1 right way to accomplish any goal. This mindset can stunt creativity and progress. Just imagine:

"What sorting algorithm should I use?"
"I'm fond of radix and shell, but use whichever you want."
"Yeah, but what's the right one to use?"

eeh... no.

A programming language to have 1 clear way to do most things : yes
Programmers saying there should only be 1 way to do something: no

This post has been edited by atraub: 24 January 2011 - 12:28 PM

Was This Post Helpful? 1
  • +
  • -

#19 mojo666  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 337
  • View blog
  • Posts: 730
  • Joined: 27-June 09

Re: Do you have principles?

Posted 25 January 2011 - 10:39 AM

"To develop the skill of introspection and correct thinking is to learn in the first place what you have to disregard. The ineffectiveness of natural thinking comes from being overwhelmed by an infinity of possibilities and facts. In order to go on, you have to know what to leave out; this is the essence of effective thinking." - Kurt Godel
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2