Where to start: Coding?

ooh, did i hurt some php feelings there?

get back to your spaghetti boy.

LOL... ummm, no... it's just obviously you don't have the slightest clue as to what you're talking about. It's as if you just read a bunch of forums, and are regurgitating what you thought sounded good.

Or let us know a project you've developed. Show me up, super star!
 


Cool guys more than enough information to get me started and keep me busy.

Last few comments

thread_direction.gif
 
Just pick something and start trying to figure it out. The key is not to just hop around to a bunch of languages and never accomplish anything. As mentioned earlier nothing beats a real world scenario so come up with a project and start working on it.

Dont cheat and copy paste. Type out every single part and eventually the repetition will stick.

also a couple great places to learn
Learn Ruby The Hard Way -- Books And Courses To Learn To Code
Learn Python The Hard Way | A Beginner Programming Book
Learn C The Hard Way -- Books And Courses To Learn To Code
Learn SQL The Hard Way -- Books And Courses To Learn To Code
Learn REGEX The Hard Way -- Books And Courses To Learn To Code

and one of my favorites Rails for Zombies
 
The only way I have ever learned to code was to have a project in mind and then learn the steps I needed to get it done along the way. Granted I've been coding since I got my first computer with qbasic when I was a kid, but for web stuff, PHP has been the best solution for me just due to how easy it is to get stuff done. It's fairly easy to learn and there's pretty much nothing you can't make with it (facebook for example, was all php, to the point where they wrote their own custom php compilers for it to speed things up, etc).

This book is quite good:

[ame=http://www.amazon.com/PHP-MySQL-Web-Development-Edition/dp/0672329166/ref=sr_1_1?ie=UTF8&qid=1333390770&sr=8-1]Amazon.com: PHP and MySQL Web Development (4th Edition) (9780672329166): Luke Welling, Laura Thomson: Books[/ame]
 
You do need to learn some basics if you want good quotes. I put up a project a few weeks ago to shave some time off.

I got quotes in the 2k range because it "sounded" complicated. But it was really a one hour coding job - because I did it in an hour.

Just focus on being able to interact with your database, get pages up, and see what you are interested in. I can't design crap - just no feel for it for example.
 
if you wanna do IM - you should hire people to do that for you. And use wordpress/joomla. If you are doing IM, I don't think you would encounter a lot of situations where wordpress isn't suitable for you and for those occasions you could hire a freelancer to do whatever you need.

Yeah, fuck being able to understand what someone hands you to make sure it was done correctly. It's also pretty lame to be able to modify their work so you don't have to wait 24 hours on them to implement a small change. because they live half way around the world.

if you wanna code, forget PHP, as it is just an excuse for a language. It's really ugly and none of the real progammers will take you seriously.

Look into python(django), or C#(ASP.NET).

You should listen to him, because he apparently knows every "real programmer" in the world and speaks for them. There's nothing like being forced into using Windows or having a random whitespace kick your ass for an hour.

Java later on is always an option.

Java is a steaming pile of crap. Anyone in this day and age that recommends Java for web development should immediately be shot.

You should look into some database devoping too - mysql will be sufficient. Postgresql is getting more and more popular.

2004 called and wants it's MySQL / PostgreSQL argument back.

Of course you should start first with HTML and CSS so you have a basic fundamental of how the webpages work. Python/c#/php all just generate HTML. Don't get too deep, because that is for designers, not coders.

LOL @ python, C#, and PHP just generating HTML. Please never join another thread talking about programming, because you clearly have no clue what you're talking about. I can use Bash, Perl, TCL, or C to generate HTML, but that doesn't mean that's all they do. Even in a web app setting the language used does a hell of a lot more than just generate html.



also don't use gentoo if you are newbie to linux/unix. Use ubuntu/mint. And your life would be a lot easier if you chose to code on windows. Don't fall for that 'hacker' mindset.

Sorry, but you're 100% wrong. The best distro a newbie could possible use would be something like Slackware or Gentoo. Source distributions will force them to actually learn how to use Linux instead of holding their hands and give them a false sense of accomplishment.
 
FB didn't write a PHP compiler. A brain donor at FB wrote a php to C++ preprocessor, called HipHop, and when they showed it to Zend under cover of multiple NDA's Zend went:
50laugh.gif

because they had some derpcoder trying to reinvent PHP instead of using an optimized runtime.
 
Yeah, fuck being able to understand what someone hands you to make sure it was done correctly. It's also pretty lame to be able to modify their work so you don't have to wait 24 hours on them to implement a small change. because they live half way around the world.



You should listen to him, because he apparently knows every "real programmer" in the world and speaks for them. There's nothing like being forced into using Windows or having a random whitespace kick your ass for an hour.



Java is a steaming pile of crap. Anyone in this day and age that recommends Java for web development should immediately be shot.



2004 called and wants it's MySQL / PostgreSQL argument back.



LOL @ python, C#, and PHP just generating HTML. Please never join another thread talking about programming, because you clearly have no clue what you're talking about. I can use Bash, Perl, TCL, or C to generate HTML, but that doesn't mean that's all they do. Even in a web app setting the language used does a hell of a lot more than just generate html.





Sorry, but you're 100% wrong. The best distro a newbie could possible use would be something like Slackware or Gentoo. Source distributions will force them to actually learn how to use Linux instead of holding their hands and give them a false sense of accomplishment.

You had me at, "Yeah, fuck".
 
The best way to learn is to start building something. Following a bunch of tutorials for the sake of learning alone can get boring pretty quickly.

Decide on something you want to build that is useful to you, and get going. You'll fall over a lot to begin with, and you will need to use a lot of tutorials/ask for help, but it's a lot more satisfying because there is a point to it.

A major advantage of this approach is it forces you to think about the best tool for the job.

For example, if you're trying to build a web app, PHP or Ruby is a decent bet.

However if you decide you want to reprogram your Roomba to become a cat hunter/killer droid, you'd be better off starting with C.

People who get into religious wars over which language/platform is "best" are irredeemable neckbeards who have nothing better to do with their lives. It makes as much sense as arguing that a spanner is better than a screwdriver.

EDIT: One thing I should add is that Object Orientation will make your head hurt for ages, then you will just suddenly get it and it becomes obvious. Don't worry, that's normal.
 
most people who start these threads never learn how to code, they just like talking about learning to code. don't be one of them!
 
And how much more will he be able to do with any language at the beginning than generate HTML with any language?

Slackware/gentoo best for starting at linux? Get your head checked.

This is why i avoid programming talk/forums. Everybody thinks he is an expert and advises people are who just starting out to get their heads into something way too advanced for them.

I gave my advise, that is all I have to say on this topic. If anyone wants it, use it, everyone who thinks he is an expert because OMG IM USING SLAX, IM HAX0R, just don't bother replying to me...
 
And how much more will he be able to do with any language at the beginning than generate HTML with any language?

Now you're just starting to piss me off. Do you even know how stupid you sound saying things like that? Yes, the various programming languages only generate HTML, C# cancels out the need for Javascript, PostgreSQL is worth looking into, and Windows is the best environment for online applications. You betcha! :)
 
Or be able to check what they delivered. Or be able to see that it really would take an hour, not 20.

Hmmm ... I am involved in a community based project and over the weekend my partner, the techie, decided he has better things to do, leaving me in the shit. So I was looking at the project and I have to admit I was tempted to roll-up my sleeves and go for it. I was a programmer for an American bank for three years so I could get my head around the stuff.

But then I did the 'what is my time worth' calculation and then compared that with the hourly rates on Odesk of supremely competent programmers from places like Pakistan, Bangladesh and other places. My time is worth between 8x and 10x theirs. So do I want to be a businessman or a programmer?

To cover my ass I have organised a two hour crash course in the architecture and the 'how you would do it', again through Odesk, so that I can follow the work. I only work on fixed rate projects (had employees so I know what thieving wankers they can be) so if I'm happy with the price I don't care too much if they slip on the time, as I will factor that in from the start.

Learning to manage off-shore resources and being the middle-man of those resources makes a lot more sense than doing the work yourself.
 
What you want to code is the big question here. Websites, desktop apps, games? After you've figured that out, find out what the most popular languages are for that platform, and read some beginners' tutorials for more than one language, to get a feel for the commonalities and differences among various languages. There are lots and lots of commonalities, so just reading the basic tutorials will teach you quite a bit about programming in general.

Then look at things like the development environments, amount of available code and tools (messing around with example projects really helps you to learn), how the language feels to you compared to the others, and any other benefits one might have like being cross-platform, etc

There is no right answer, even if you already know what you want to develop. For web development I'd recommend PHP but others would recommend Perl or ASP or something else. Don't take any suggestion as the answer - you have to look at all of them and decide for yourself.
 
Coding tons of languages since the days of 'poking' and 'peeking' on a Commodore Vic 20 I still prefer it over Python.

I will never encourage my kid to be a coder ha.
 
Now you're just starting to piss me off. Do you even know how stupid you sound saying things like that? Yes, the various programming languages only generate HTML, C# cancels out the need for Javascript, PostgreSQL is worth looking into, and Windows is the best environment for online applications. You betcha! :)

The moment it was clear that he considers HTML rendering the same as a server-side processing language output, I stopped reading. Which was many posts ago.
 
Now you're just starting to piss me off. Do you even know how stupid you sound saying things like that? Yes, the various programming languages only generate HTML, C# cancels out the need for Javascript, PostgreSQL is worth looking into, and Windows is the best environment for online applications. You betcha! :)

This.
I am no one to bash other people, but you just have no fucking clue what you're talking about.
Stfu, rtfm and learn.

And to OP: to learn to code starts with learning to post in the right forums.
 
OP Get yourself a Dummies Guide to PHP/MySQL and start reading it on the toilet.

If you feel it's something you want to get into start typing out the examples and seeing what happens. Yes there's a lot to learn but this way you can start chopping up wordpress a bit more, including php snippets in your posts via the PHPEXEC plugin and generally mashing up other people's freely available code examples into things you want to build. Add Curl examples into the mix later on and you've got yourself scrapers and automation too in a pretty short space of time.