Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: August 3, 2025, 1:45 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hello world.
#20
RE: Hello world.
(May 29, 2014 at 11:48 am)pocaracas Wrote:
(May 29, 2014 at 10:54 am)Marsellus Wallace Wrote: you call it Indentation , I call it good code writing style Tongue

IMO : The whitespace thing in python is not very practical . Who has time to put all the dammin' spaces and what if you forgot where you are ?

If you forget where you are, you use a proper editor, one that displays a symbol in the place of whitespace and auto-indents when you press ENTER.
On windows, I use notepad++.
On linux, I'm using Geany.
Both support these features and it makes everything very easy to understand
(even the big problem in python where you can have a tabulation in one line and 4 spaces in the next, which, if all white, look exactly the same, but represent different indentations, which leaves python confused) and no such memory lapses occur... often Wink

Indentation really makes it easier to read code. And you just know that you won't remember what you wrote in one or two weeks from now, so it's best to keep it readable... for your future peace of mind.

ALSO: comments, lots of them!

You should use sublime in both linux and win, its simply amazing .
you're right about the comments,they are very important and they save alot of time. It always feels like i'm not gonna need them while i'm writing the code Big Grin
[Image: eUdzMRc.gif]
Reply



Messages In This Thread
Hello world. - by FilthyMeat - May 28, 2014 at 10:27 pm
RE: Hello world. - by Minimalist - May 28, 2014 at 10:30 pm
RE: Hello world. - by The Valkyrie - May 28, 2014 at 10:33 pm
RE: Hello world. - by Ravenshire - May 28, 2014 at 11:07 pm
RE: Hello world. - by Fidel_Castronaut - May 29, 2014 at 3:46 am
RE: Hello world. - by Losty - May 29, 2014 at 3:59 am
RE: Hello world. - by LastPoet - May 29, 2014 at 4:02 am
RE: Hello world. - by downbeatplumb - May 29, 2014 at 5:29 am
RE: Hello world. - by Marsellus Wallace - May 29, 2014 at 9:05 am
RE: Hello world. - by LastPoet - May 29, 2014 at 7:48 am
RE: Hello world. - by Ben Davis - May 29, 2014 at 7:55 am
RE: Hello world. - by KichigaiNeko - May 29, 2014 at 8:40 am
RE: Hello world. - by pocaracas - May 29, 2014 at 8:45 am
RE: Hello world. - by pocaracas - May 29, 2014 at 9:50 am
RE: Hello world. - by Marsellus Wallace - May 29, 2014 at 10:54 am
RE: Hello world. - by pocaracas - May 29, 2014 at 11:48 am
RE: Hello world. - by Marsellus Wallace - May 29, 2014 at 12:02 pm
RE: Hello world. - by pocaracas - May 29, 2014 at 12:15 pm
RE: Hello world. - by downbeatplumb - May 30, 2014 at 4:41 am
RE: Hello world. - by pocaracas - May 30, 2014 at 5:44 am
RE: Hello world. - by Marsellus Wallace - May 30, 2014 at 9:34 am
RE: Hello world. - by pocaracas - May 30, 2014 at 9:38 am
RE: Hello world. - by Tea Earl Grey Hot - May 29, 2014 at 9:52 am
RE: Hello world. - by Mister Agenda - May 29, 2014 at 10:04 am
RE: Hello world. - by Cato - May 29, 2014 at 10:53 am
RE: Hello world. - by SteelCurtain - May 29, 2014 at 12:02 pm
RE: Hello world. - by Confused Ape - May 29, 2014 at 4:26 pm
RE: Hello world. - by rexbeccarox - May 30, 2014 at 4:50 am

Possibly Related Threads...
Thread Author Replies Views Last Post
  Hello! Just need to commune with some fellow atheists in a religious world. Rosie_Rivets 11 2799 November 11, 2016 at 5:18 pm
Last Post: CWoods
  Hello world Alexander The Great 27 4330 August 20, 2016 at 8:42 pm
Last Post: Pat Mustard
Lightbulb Hello World Society 16 2642 April 29, 2016 at 8:56 pm
Last Post: LadyForCamus
  Hello World! FriendlyNeighborhoodAtheist 62 11371 May 15, 2015 at 10:25 am
Last Post: Alex K
  hello world DeadChannel 19 2865 January 10, 2015 at 9:03 pm
Last Post: JuliaL
Rainbow Hello World PerfectRecall17 21 4198 November 9, 2014 at 11:36 pm
Last Post: PerfectRecall17
  Hello World Escherscurtain 10 2446 March 22, 2014 at 10:02 pm
Last Post: KichigaiNeko
  Hello world! Deckard 18 3624 August 16, 2013 at 12:54 am
Last Post: Fruity
  Hello world! apostopare 10 2935 August 25, 2012 at 6:57 am
Last Post: apostopare
Thumbs Up Hello Hello loush 17 7645 December 13, 2010 at 2:53 pm
Last Post: theophilus



Users browsing this thread: 1 Guest(s)