is it easy to learn programming



Computer programming is not for everyone, computers do not always work hard physical labor, but many mental.but The java programming language is easy to learn, whether you're totally new at programming, or just want to pick up a new language. It is the perfect computer language for being competitive in today's industries or even to create programs as a hobby. Java is also easy to set up,

heathrow valet parking
 
Php is horrendous to look at if you've programmed in anything else. But at the same time it's fucking effective and once you swallow the shitty syntax it's wonderful.

For web you want to master javascript, html is as easy as it gets, learn how to write code that validates (js, css, html) and you'll be set. Php when you want to do something with the data on the server or interact with mysql.

I love and hate php. I'd love to kick it's author in the dick.
 
Easy to learn, hard to become good at, and very difficult to become an expert at.

Same with pretty near everything in life. Take skiing, for example. Any asshole can throw their feet into some ski boots, onto some skis, and glide down an easy slope. Takes quite a bit of work to get to the point where you're jumping out of a helicopter 8000 feet up, into fresh powder that's never been touched by man before though.
 
how make baby err I mean yes its hard make baby
 
I'll disagree with the recommendation to learn C first.

Python IMHO is the best language to start with - PHP second - Javascript third.

Python (over Ruby) because its syntax is very "english" like, it reads more like pseudo-code than anything, and is much easier to understand than any language I've programmed in. Ruby is a great language, but its syntax is very terse and symbol (rather than word) oriented, which makes it slightly harder to learn for the beginner.

PHP is a great starter language because once you get MAMP/XAMP setup, all you have to do is type in three lines into a file, hit save, and you have a "dynamic" webpage. Please keep this in mind (I started with PHP and outgrew it to using Pythong, Erlang, and Haskell): PHP is great for quick/small dynamic websites, but because it wasn't designed from the beginning to be a general purpose programming language (unlike Python and Ruby) it has A LOT of warts that get in the way the bigger your project gets.

Javascript is also easy to learn and you can't beat an in-browser REPL, plus it's hella fun to interact with a page's DOM elements live and get that kind of feedback.

I personally think you should skip over PHP and just learn Python using Django. That will give you some good chops - then when you want to move onto building more advanced web applications you can toss Django and use Pyramid or something of the like.
 
If you're good at math and formal logic it will be a breeze.

If you want to learn web languages, PHP is probably the way to go. What you're asking for isn't programming, it is scripting. Programming refers to writing binary software, or at least compilable software.

I started the hard way into learning C++ back in the day. I moved into LAMP/Memcache 6 years ago and never looked back. The interwebs are the future.
 
Nice thread/discussion. I've been learning alot of website development since summer of last year, and it's not easy but it's fun. I think I like HTML + CSS and PHP more than anything else. Just saying :)
 
It depends on what you are good at, if you know basic language and syntax of initial languages you can do good programming in new languages quickly
 
Programming is not for everyone. You have to be detail-oriented, persistent, and be able to focus and put in some time.

The quickest way to learn is by doing. Google is a programmer's best friend.

Find the sites which contain tutorials, examples and syntax rules for HTML, CSS, Javascript, PHP and SQL. Don't try to read through them.

Just bookmark them for reference. Leave Java and C# for later. PHP is the base for Wordpress, so start there.
Write up some specifications for a small website as if you were going to hand this over to a programmer. Dropdown menu on top, use this image here, put ads here, need a scrolling image feature, etc.

Are you going to use a database? Example -- maybe a table with products you'll display based on information about a customer.
So you'll need a product table with product name, product URL and product type. You'll need a customer table with email address and type. You want to display products with a type that matches your customer type.

Now that you know what you want, take one piece at a time.

I googled - how to make a web page in php - and I got How to Create a PHP Website Template from Scratch .

Copy what they did here and make this work on your website. Then change it to look like what you want.

This might take a while because you are learning -- google what you need. - how do I change font size in CSS -- etc.

You may even want to create a special web page for future reference with examples of CSS that you know you will use.
All programmers keep 'shell' code. This is an example of code they have worked out to do a specific function which can easily
be altered for new pages.

Setting up the database.

I googled - how to set up a mysql database -

First showing is MySQL :: Getting Started with MySQL
My eyes glazed over -- this is good information but... I don't want an art history lesson to find out the price of a painting -
let's try again

MySQL for Beginners How to create a MySQL Database | WebProNews

much better - phpMyAdmin is on cpanel

Set up your database.

Now - how do I get this data and display it?

I googled - how to get data from a mysql database in php -
and chose
PHP tutorial - How to connect and fetch data from mySQL database in PHP

this has a code example -- always look for the code example and not paragraph after paragraph of explanation.
put this code into your page that you created and modify it to your database name and table and fields -- say, just display product and type get this to work before moving on.

YouTube tutorials are good if you have the patience. But often there are 30 seconds of info in a 6 minute tutorial. I use these
as a last resort. I just want to know how to do x. They are often like - Hey, I'm Joe Schmoe with programmer's anonymous and
I have 30 years of experience and I'm going to show you how to do x, but oh wait, here's my cat helping me out and let's talk about how PHP got started in the early years and did I tell you that I do one-on-one mentoring.....

Ok, but I wanted to show products that match a customer type with the product type. How do I do that?

I googled - getting data in sql from two tables where fields match -

I found this SQL Joins which is a good explanation but has no code example

this is better -
Retrieving Data from Multiple Tables with SQL Joins

Ok, so I take the code and plug in my tables - product and customer and say where the product type matches the customer type.

Now get this to work.

Another good way to learn CSS and PHP is to install wordpress, install a theme and start changing code.
Go to appearance, editor and make changes to stylesheet and see how that affects the site.

Are you starting to see a pattern here? If you get desperate, ask questions in a programming forum.

Just wade in and do it. You will pick up knowledge as you go -- if/then/else logic, do loops, etc. Small accomplishments
breed confidence and turn into bigger accomplishments.

Pros and Cons of learning how to program --

Pros - If you learn, you won't have to pay someone else to do it. If you learn and pay someone else to do it, you'll be able to
tell if they are any good and they won't be able to tell you a five minute fix is 40 hours of work. You can probably get a job as
a programmer if you get good at it and need money (and the outlook for web programmers is good). You could write your own software and sell it - could be quite lucrative. Mobile apps and cloud programming are going to expand. For some people, programming is like doing puzzles all day.

Cons - Learning curve to get really good - large investment in time and focus. Would you put that time to better use? Hmmmm...
some say they won't do it because they make more money coming up with the ideas and paying someone else (if you don't have the money, is it worth the gamble to borrow it?) to program. Probably true. Just like any job, you won't get rich programming unless you own your software and make it big (Facebook). But if you spend a lot of time daydreaming, reading forums, etc., you may just have the time to learn to program. It can get really boring without challenging projects. You will lose all your liberal friends because you have learned to think logically.
 
Try building some simple Html/JavaScript webpages. Experiment with JQuery and Plugins. No compliling, lots of resources, no fancy ide needed.
 
Before learning programming, think of what you want to program and its purpose. Then read books and articles, then try to program something.
 
Programming is not tough to learn. If you are good in logic and math, you are fit to start programming. Start with basic language C.

In web languages, PHP is the best.