(12-14-2011, 04:33 AM)delroth Wrote:Quote:system-related resources like types
Wat.
for instance in C you need to know that arrays are
Code:
char[]
Code:
wchar_t[] //synonym for short[]
Poll: Should I learn Java or C++ first? You do not have permission to vote in this poll. |
|||
Java | 1 | 7.69% | |
C++ | 12 | 92.31% | |
Total | 13 vote(s) | 100% |
* You voted for this item. | [Show Results] |
Should I learn java or C++ first?
|
12-14-2011, 05:09 AM
(12-14-2011, 04:33 AM)delroth Wrote:Quote:system-related resources like types for instance in C you need to know that arrays are Code: char[] Code: wchar_t[] //synonym for short[] 12-14-2011, 05:33 AM
(This post was last modified: 12-14-2011, 05:35 AM by NaturalViolence.)
Quote:Saying that "imperative languages is easier" is wrong, btw. Neither imperative or functional is the "natural" way of thinking. hahahahaha Everyone thinks in an imperative way by default, that is the "natural way" that people view the real world. When they see a car driving down the street, they see the same car, with ever-changing mutable state. They don't see a series of slightly different immutable cars. Quote:You have two choices : copy pasting stuff you don't understand ("public class Main { public static void main(String[] args) { } }"), or scratching your head for one month trying to understand OOP while learning to program. Interesting.....I along with millions of others didn't seem to have that problem. Come on Delroth, I've seen your work. You're a good programmer (in my opinion), surely you must realize that learning something like C as a first language is not that hard, especially if you have an instructor.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."
-Ron Swanson "I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. " -Mark Antony 12-14-2011, 07:24 AM
(12-14-2011, 05:33 AM)NaturalViolence Wrote:Quote:Saying that "imperative languages is easier" is wrong, btw. Neither imperative or functional is the "natural" way of thinking. To be honest, there's some truth there. Imperative is more natural than other paradigns for most things. But that's not always the case. For example in the logic paradign is more human like to check if 2 persons are partners in work than in imperative: Code: :- dynamic worker/1. in imperative, this would be a bit more problematic and not so simple (though it's still simple). This is why logic languages such as OWL are used for making expert systems, they are better for representing some common logic on data. in the case of functional, building recursive types is way more simplistic with algebraic types than with pointers. like in: Code: data BinTree a = Empty | Leaf a (BinTree a) (BinTree a) (12-14-2011, 05:33 AM)NaturalViolence Wrote:Quote:You have two choices : copy pasting stuff you don't understand ("public class Main { public static void main(String[] args) { } }"), or scratching your head for one month trying to understand OOP while learning to program. it's hard for many, but there are languages which are a LOT easier to learn than C. It's better to learn it way after you have grasped some basic programming concepts. 12-14-2011, 07:44 AM
(12-14-2011, 05:33 AM)NaturalViolence Wrote: Come on Delroth, I've seen your work. You're a good programmer (in my opinion), surely you must realize that learning something like C as a first language is not that hard, especially if you have an instructor. I'm a TA at my current school and I can definitely tell you that some people have a lot of problems learning C#, even after a good introduction to programming with OCaml (and before you argue about that, I'm not talking about problems with imperative/functional mismatch, which are normal in that case, but more about syntax problems, OOP stuff, understanding of the tools, etc.). I can't even think about what it would be if C was directly teached as their first programming language instead of OCaml then C#: most of them probably wouldn't be able to do anything after 6 months of teaching. I don't say C is a bad first language. I started with C seven years ago, had a really hard time learning it because french programming resources for beginners were really sparse at that time, but it's probably a lot better than Java or C# as first language. However, I think a lot of stuff in C are too complicated and distract from learning "programming": for example, someone above talked about the several integer types, that's a detail that is not strictly needed to learn programming but is required to code in C. Let's not even talk about pointers, manual memory management, etc. which makes learning about data structures a lot harder. 12-14-2011, 05:46 PM
(12-14-2011, 07:24 AM)BlinkHawk Wrote: it's hard for many, but there are languages which are a LOT easier to learn than C. It's better to learn it way after you have grasped some basic programming concepts.there is a problem with that. the first programming language i learned was VB.NET. sure it was easy, but it didn't help me one bit when learning C/C++ later on. and basic wouldn't help either. C# on the other hand would be a great introduction to C/C++ cause its almost the same 12-14-2011, 06:38 PM
The last couple of posts to me was blah blah blah blah blah, anyway i got the book 'learning python the hard way', hope this isnt a bad idea
......?????
12-15-2011, 08:13 AM
Good choice, you should see some of the stuff Delroth has done with python: http://blog.delroth.net/2011/06/reading-...th-python/
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."
-Ron Swanson "I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. " -Mark Antony 12-15-2011, 05:15 PM
12-15-2011, 06:51 PM
^ Agrees in a way.
It's too different from the standard programming languages (C++, C# etc). You'd be better off learning one of these and use Python only as a side language.
If it can serve as a foundation for holding up c++ and other languages, i dont mind giving it a go, cause honestly c++ is probably what i'll be using most and a little SQL for web designing.
I just dont want to learn too many languages and confusing myself in the end, cause i believe human beings operate the same way as computers, dont want to get my hard-drive filled with unnecessary info
......?????
|
« Next Oldest | Next Newest »
|