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: April 27, 2025, 3:42 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hello world.
#24
RE: Hello world.
(May 29, 2014 at 9:50 am)pocaracas Wrote: You "guyses" JAVA indentation is wrong... That code, although it compiles and does its job, would fail on my class... if I ever teach computer programming to anyone.
Indentation is a quick and easy way to spot bad programmers... not the only one, though.
That's why they came up with PYTHON - forced indentation, replacing all curly brackets:
Code:
def helloWorld():
  print "Hello World!"

You would fail code that compiles and does its job!
Marking down I understand, because it is not pretty, but failing something that works is just a bit wrong.



You can fix ignorance, you can't fix stupid.

Tinkety Tonk and down with the Nazis.




 








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 2633 November 11, 2016 at 5:18 pm
Last Post: CWoods
  Hello world Alexander The Great 27 4041 August 20, 2016 at 8:42 pm
Last Post: Pat Mustard
Lightbulb Hello World Society 16 2379 April 29, 2016 at 8:56 pm
Last Post: LadyForCamus
  Hello World! FriendlyNeighborhoodAtheist 62 10694 May 15, 2015 at 10:25 am
Last Post: Alex K
  hello world DeadChannel 19 2638 January 10, 2015 at 9:03 pm
Last Post: JuliaL
Rainbow Hello World PerfectRecall17 21 3934 November 9, 2014 at 11:36 pm
Last Post: PerfectRecall17
  Hello World Escherscurtain 10 2297 March 22, 2014 at 10:02 pm
Last Post: KichigaiNeko
  Hello world! Deckard 18 3354 August 16, 2013 at 12:54 am
Last Post: Fruity
  Hello world! apostopare 10 2803 August 25, 2012 at 6:57 am
Last Post: apostopare
Thumbs Up Hello Hello loush 17 7247 December 13, 2010 at 2:53 pm
Last Post: theophilus



Users browsing this thread: 1 Guest(s)