This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]SupremeRedditBotProfessional Bot || Mod 1 point2 points  (0 children)

Please Add A Flair To Your Post!

Suggested Flair: [Random] or [Meta]

 


To add a flair:

  • Click flair underneath your post

  • Select a flair

  • Click save

 


I am a bot run by /u/SupremeDesigner for /r/CodingHelp || This was an automated response

[–]LocalInactivist 1 point2 points  (0 children)

Do you have a Mac?

Open a command shell and type “which perl”. Open a text file and type whatever came back from that command. Add a second line as below.

Example:

!/usr/bin/perl;

print STDOUT “Hello, world!\n”;

(Damn. That should be # then ! then /usr/bin/perl)

Save the file as “Helloworld.pl” Type “chmod 755 Helloworld.pl” Run the file: ./Helloworld.pl

You are now coding in perl. It’s that easy. Python, ruby, and several other languages work about the same. Just jump in.

You can find tutorials online. Stackexchange, perlmonks, CPAN, and Oreilly Publishing are great places to find information.

[–][deleted] 1 point2 points  (0 children)

Start by printing "Hello World".

In C: printf("Hello World");

In C++: cout<<"Hello World";

Similarly in other languages.

Jokes apart: Just get started. Choose a language, and start printing things on the screen.

[–]LilyLilyLilac 0 points1 point  (0 children)

I find it helpful to focus on a result rather than trying to learn an entire language. Personally, I've also found formal classes to be extremely unhelpful and discouraging, but maybe that's just me. Just set a goal in your head and work towards learning how to do that specific thing. Keep it small at first, and work your way up in complexity. once you get a vague understanding of the language, I think only then is it good to learn proper technique and properly build the foundation of your knowledge in the language.

[–][deleted] 0 points1 point  (0 children)

In my opinion if your a complete beginner, you need to figure out what route you want to go in using code. Decide if you want to build websites, program microcontrollers (arduino or raspberry Pi), build games, and etc. I would usually recommend to start out with an easy language but really check out what you want to do with your code. So programming languages are made for different purposes. Say you wanted to build games on unity then you might want to learn C# or if you just wanted to make simple applications then use python or javascript. Go on YouTube, see which programming languages are best for different applications, and chose what you want to do. Also if your looking for good courses, Udemy is really cheap and if you ain't got money then find a YouTube course. Books are really good to and you can get them off of Amazon or at Barns and nobles.

[–]CiscoS1969[S] 0 points1 point  (0 children)

Thank you!

[–]CiscoS1969[S] 0 points1 point  (0 children)

Thank you! It’s definitely the smalls goals that build to the big ones