You are viewing our Forum Archives. To view or take place in current topics click here.
Where to start?
Posted:

Where to start?Posted:

Chunkuh
  • TTG Senior
Status: Offline
Joined: Mar 21, 201113Year Member
Posts: 1,659
Reputation Power: 111
Status: Offline
Joined: Mar 21, 201113Year Member
Posts: 1,659
Reputation Power: 111
It hasn't interested me for a long time but seeing as I find myself bored 24/7 nowadays, I've decided to start some programming again as a past time.

So I want to know what is the best first programming language to learn?
(I know HTML/CSS/PHP but they suck don't interest me at the moment)

C, C++, C#, Java, Python etc.. which one and why?



Last edited by Chunkuh ; edited 1 time in total
#2. Posted:
Grimmie
  • TTG Addict
Status: Offline
Joined: Aug 04, 201112Year Member
Posts: 2,809
Reputation Power: 156
Status: Offline
Joined: Aug 04, 201112Year Member
Posts: 2,809
Reputation Power: 156
I don't really know HOW you can say that HTML/PHP suck. But that's not the point. You should learn either C++ or C#, I'd go with C++. It's amazing in every single way. Also it will keep you busy for a while.

This is probably the best website to learn from. Other than that, I'd go with a book. The site focuses on C++, I'm not sure if it includes C#, i don't think it does.

[ Register or Signin to view external links. ]
#3. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
I find it hilarious how people post ONLINE on a website built using PHP, HTML, CSS and JS saying that the languages suck.
#4. Posted:
Chunkuh
  • TTG Senior
Status: Offline
Joined: Mar 21, 201113Year Member
Posts: 1,659
Reputation Power: 111
Status: Offline
Joined: Mar 21, 201113Year Member
Posts: 1,659
Reputation Power: 111
-Jordan- wrote I find it hilarious how people post ONLINE on a website built using PHP, HTML, CSS and JS saying that the languages suck.


I didn't mean suck as in "wow they are useless, screw that", just they're the ones that don't really interest me that much. If you don't have anything helpful to say, please be quiet.

Grimmie wrote I don't really know HOW you can say that HTML/PHP suck. But that's not the point. You should learn either C++ or C#, I'd go with C++. It's amazing in every single way. Also it will keep you busy for a while.

This is probably the best website to learn from. Other than that, I'd go with a book. The site focuses on C++, I'm not sure if it includes C#, i don't think it does.

[ Register or Signin to view external links. ]


Alright thanks, I'll keep C++ in mind.
#5. Posted:
Derp
  • TTG Senior
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
I'd say start out on C#. Some people would say VB, but I think VB is more like talking to a computer more than programming a computer.

Once you think you're ready to move on, you should move on to bigger languages and multiplatform languages such as C/C++ and Java. C is harder, but more can be achieved with it.
#6. Posted:
CLK
  • Wise One
Status: Offline
Joined: Jun 12, 201013Year Member
Posts: 531
Reputation Power: 33
Status: Offline
Joined: Jun 12, 201013Year Member
Posts: 531
Reputation Power: 33
Derp wrote I'd say start out on C#. Some people would say VB, but I think VB is more like talking to a computer more than programming a computer.

Once you think you're ready to move on, you should move on to bigger languages and multiplatform languages such as C/C++ and Java. C is harder, but more can be achieved with it.


C++ is more difficult than C my opinion, only because C++ has confusing-ass templates and shit.

Personally, I recommend starting out with either a scripting language (such as Python, PHP, or Lua) or C#. I say a scripting language because learning the basics about code flow and whatnot is a good place to start (without the worry of garbage collection), and then carrying that knowledge over to a managed language really helps. If you jump straight in to a language without much background, you'll have more of a tendency to do things wrong in my opinion (e.g. using strings and parsing them as ints for things like reader.Position = int.Parse("9")).

I also don't recommend jumping straight into a language such as C or C++ because you probably won't understand the concept of pointers and such.
#7. Posted:
RDCA
  • TTG Contender
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 3,612
Reputation Power: 173
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 3,612
Reputation Power: 173
Ontop of what CLK said, I would watch some general computer tutorials, like memory management, which should be really useful in a language like C++/C. Also maybe one about Object Orientated languages (OOP). Some people consider C++ to be one, but the person who actually defined/invented the term object orientated doesn't think it is. Then I would try to get the general feel for certain words what are similar in multiple languages, though they might have slight differences. Here is a short list that comes to the top of my mind:

int - integer
string
class
sub
function
EventArgs
Parameter
Inheritance
Data Structures
Data fields
Methods
Dependency
Instances

There are lots more, but these are pretty frequent in the more popular languages.
#8. Posted:
CLK
  • Wise One
Status: Offline
Joined: Jun 12, 201013Year Member
Posts: 531
Reputation Power: 33
Status: Offline
Joined: Jun 12, 201013Year Member
Posts: 531
Reputation Power: 33
RDCA wrote Ontop of what CLK said, I would watch some general computer tutorials, like memory management, which should be really useful in a language like C++/C. Also maybe one about Object Orientated languages (OOP). Some people consider C++ to be one, but the person who actually defined/invented the term object orientated doesn't think it is. Then I would try to get the general feel for certain words what are similar in multiple languages, though they might have slight differences. Here is a short list that comes to the top of my mind:

int - integer
string
class
sub
function
EventArgs
Parameter
Inheritance
Data Structures
Data fields
Methods
Dependency
Instances

There are lots more, but these are pretty frequent in the more popular languages.


C++ is an object-oriented language because of the inclusion of templates, anonymous methods, classes, abstract classes, polymorphism and inheritance.

Going off of your examples of data types:

int - integer (in most languages, it's an int32 meaning it has 32 bits). LEARN THE DIFFERENCE BETWEEN INTEGER VALUES! There are types of different bit width, and also unsigned and signed types. An unsigned type has a minimum value of 0, and a maximum of X, where X is all bits set to 1. A signed byte has a maximum X, and a minimum of -X, but a lower minimum value due to the fact that the highest bit is reserved for whether or not the number is negative. If 1, the number is negative. If 0, the number is positive. Here's the numeric family...

byte (int8), short (int16), int (int32), long (int64). Those are signed types
byte (int8), ushort (uint16, WORD), uint (uint32, DWORD), ulong (uint64, QWORD). Those are the unsigned types.

Why do they all matter? Let's say you have a large number. A number larger than 32767. You can't store that in a short, because a short's max value is 32767, so you'd have problems with representing that since you'd get a bit overflow (basically, your numbers get all **** and you get stuff cut off)


string - an array of characters
struct - a structure of data types and methods
class - similar to a struct, but here's the key difference (quoting the C++ standard 11.2):

Member of a class defined with the keyword class are private by default. Members of a class defined with the keywords struct or union are public by default.
#9. Posted:
RDCA
  • TTG Contender
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 3,612
Reputation Power: 173
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 3,612
Reputation Power: 173
THAT WAS FOR HIM TO FIGURE OUT YOU FCKING DERP. Reading will teach him a lot, and as for the whether C++ is a OOP I shall not get into, but tbh how are you going to tell the person who basically invented it that he is wrong? Idc whether it is or not lolz.
#10. Posted:
CLK
  • Wise One
Status: Offline
Joined: Jun 12, 201013Year Member
Posts: 531
Reputation Power: 33
Status: Offline
Joined: Jun 12, 201013Year Member
Posts: 531
Reputation Power: 33
RDCA wrote THAT WAS FOR HIM TO FIGURE OUT YOU FCKING DERP.


Well, I am a gentleman and told him early.


Reading will teach him a lot, and as for the whether C++ is a OOP I shall not get into, but tbh how are you going to tell the person who basically invented it that he is wrong? Idc whether it is or not lolz.


[citation needed]
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.