D
Deleted member 25872
I think HTML is the most easiest to learn. You should start off with the basics...
Sinon said:There's an important difference that needs to be made here, I think:
Coding languages: HTML, CSS, XML, etc
Programming Languages: PHP, Python, Java, etc
Good point. I did a bit of research and it appears Markup is the right term to use. ๐int0x10 said:Sinon said:There's an important difference that needs to be made here, I think:
Coding languages: HTML, CSS, XML, etc
Programming Languages: PHP, Python, Java, etc
I think coding language tends to be used interchangeably with programming language from my experience. Markup language is less ambiguous for languages like HTML, XML, etc. Good definition otherwise ๐
I don't know. I guess my issue is that HTML is a bit too easy of an answer. HTML is easy to learn because it's really a different kind of language from Python, PHP, etc. HTML doesn't really do anything: it's just a format for laying out documents. You know what I mean? ๐ The only resemblance between HTML and PHP is that they're both "technical stuff." HTML is really a language which is meant for formatting the layout of documents, while PHP is meant for instructing a computer what operations it should execute. These are entirely different things, and I think saying "HTML is easier to learn than PHP" is simply missing the point of what these languages mean, you know? ๐death180 said:I think being so pedantic with defining each language is just a waste of time, time that could have been spent doing something more productive, like learning or developing. To me, it doesn't matter if it's called coding, programming, scripting, etc.. It's all the same thing, because learning and creating is always more important.
In my experience HTML is pretty straightforward, simply because there aren't functions, arrays, variables, and all that jazz that PHP or Python might have. CSS is equally straightforward, I think the hardest part for new users is remembering the properties and the accepted values.
But the more you do it, the easier it becomes to memorize things.
Cosmic said:There's an important difference that needs to be made here, I think:
Coding languages: HTML, CSS, XML, etc
Programming Languages: PHP, Python, Java, etc
A coding language represents data. HTML cannot "do" anything per se, all it does is structure content. An HTML document is just like a word document: both are formatted text, just meant for different contexts. He purpose of a programming language, such as PHP, is to do something. To execute a list of operations from top to bottom. It's very difficult to compare coding languages to programming languages, as they are very different things.
String testString = new String("test");
if (testString == "test") {
// This is never true...
}
public class MyProgram {
public static void main(String[] args) {
Dog dog1 = new Dog();
dog1.name = "Rover";
Dog dog2 = new Dog();
dog2.name = "Rover";
if (dog1 == dog2) {
System.out.println("Even though all properties are the same, dog1 is not equal to dog2");
}
}
public static class Dog {
public String name;
}
}
// If == behaves as "are these objects exactly the same," this code will work as expected, and rover will be removed.
// If == behaves as "are all properties the same," then spot will be removed, and the programmer will be confused.
Dog spot, rover, blue;
ArrayList<Dog> dogs = new ArrayList();
dogs.add(spot = new Dog());
dogs.add(rover = new Dog());
dogs.add(blue = new Dog());
// Remove rover from the list of dogs
removeItem(rover, dogs);
// ...
// Removes a dog from a list of dogs
public void removeItem(Dog dog, ArrayList<Dog> dogs) {
// Create a list of dogs to remove
ArrayList<Dog> remove = new ArrayList();
// For each dog in the list, check if it should be removed
for (Dog d: dogs) {
if (dog == d) { remove.add(d); break; }
}
// Remove all dogs which have been added to the list to remove
for (Dog r: remove) {
dogs.remove(r);
}
}
String first = "Hello!";
String second = "Hello!";
if (first.equals(second)) {
System.out.println("This will be true.");
}
if (first == second) {
System.out.println("This will be false.");
}
Since 2007, Forum Promotion has specialized in providing advertising solutions to webmasters looking to promote their communities. We pride ourselves in being the bridge that connects forum administrators, bloggers, and more.
We use essential cookies to make this site work, and optional cookies to enhance your experience.