G
G
gabex2012-02-28 14:15:43
C++ / C#
gabex, 2012-02-28 14:15:43

C as the "first" language

Suddenly realizing that in the third year of the Polytechnic University I did not really know how to program, but I wanted to, I began to rush about. Of course, I want to program for iOS, I have the necessary tools in the form of a Mac and an iPhone with an iPad for testing, but I don’t have the main thing - the necessary knowledge in my head. I know something, I heard it somewhere, but mostly porridge. I read the book “Become an Xcoder”, naturally there is nothing complicated there. The next step was the "classic" by Dennis Ritchie and Brian Kernighan " The C Programming Language ". Did I do it right? Thank you.

Answer the question

In order to leave comments, you need to log in

9 answer(s)
F
Fastto, 2012-02-28
@Fastto

Start right away with objective-C, with a real application. There is nothing worse than a lack of interest, even if it itches now, you won’t be able to keep this feeling for a long time, and a live project will be a great motivator.
A language is just a way to implement certain tasks, if your goal is iOS - it's just stupid to start with C. I personally don't see any pros. And you won’t know deep matters even in C anyway, everything will come with experience.
From the literature I will advise - Fowler “Refactoring. Improvement of existing code." - will help you write code more correctly and speed up the process of "understanding the higher mothers"

D
Dmitry, 2012-02-29
@EvilsInterrupt

My advice is to start your career as a programmer in this order:
1) Plaksin.M "Testing_and_debugging_programs". Start poking around with existing programs, you can take calc.exe or something else as a basis. The ability to test makes it possible to work mercilessly with your own code for which you will be responsible to your colleagues. This is a very useful skill, even in a minimal amount, but the programmer must be able to test!
2) The C language among computer languages ​​now occupies the same role as English among human languages. Knowing C will make it easier for you to understand others!
3) Never do anything that you personally are somehow not interested in. Any project, any task, any action should be interesting not only to the person who set you the task, but also to you personally!
4) Algorithms, without them, nowhere! The more you know them and know how to put them into practice and give an assessment of complexity, the better!
5) Patterns, this makes sense when you have at least some programming experience. Write at least 20 programs, then you will immediately understand what you have encountered in practice and what has not. You will clearly understand how exactly this or that pattern can help you.
6) Be pragmatic! Any action should lead you to some previously set goal.
7) Read Brooks' Mythical Man-Month. What is stated in the book must be understood in order to know which specific tasks should be performed and which should not! The ability to correct the manager correctly and correctly, and with reason, gives you the opportunity to bring more to the software project and, therefore, will give you an advantage over your colleagues.

S
sergeypid, 2012-02-28
@sergeypid

I think it's very correct. Pure C is very close to the hardware of the processor, and learning this language will help put the programmer's brain in the right place if he wants to develop high-performance programs that use all the resources of the computer. Also, programming in Objective C without knowledge of C is not possible, except in cases of simple applications that can be done in HTML as well.

M
Melkij, 2012-02-28
@melkij

If you want to study fundamentally and understand that the desired result will not be immediately - yes, that's right. And also this list: habrahabr.ru/blogs/development/135897/

S
sdevalex, 2012-02-28
@sdevalex

For iOS, they write in objective c, this is different ...

6
65520, 2012-02-28
@65520

Definitely correct. Moreover, the book itself is very good, easy to read and digest, and it is quite small.

P
Puma Thailand, 2012-03-03
@opium

Algorithms are the same everywhere, all similar languages ​​are almost the same. java, c#, php, etc., I have not studied these languages, but I know pascal, c, qbasic. It is enough to go over a book on the language quickly and I can already fix any minor bug in the code that I run. All these languages ​​mainly differ in their framework model and development environments. We read a book on objectiv-c and start programming. Reading with in this case is useful, but it doesn’t make much sense.

W
wwwsevolod, 2012-03-23
@wwwsevolod

K&R C and Donald Knuth :)

B
boolivar, 2012-02-28
@boolivar

C is a good language, with great popularity, it can serve as a starting point for further study of languages ​​such as C ++ and Java. If you are going to become a programmer, one way or another you will have to get acquainted with other languages. Learning other languages ​​will help you strengthen your “programmer mindset,” so to speak, while those languages ​​themselves may never be useful. So, knowledge of the C language most likely will not be useful to you when writing programs for iOS, but the knowledge gained from reading a book and learning the language may be useful.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question