Reading this

>reading this
>is mostly shit I already know from java tutorials and Sup Forums memes
>tfw I was memed by Sup Forums

Other urls found in this thread:

kau.edu.sa/GetFile.aspx?id=203014&fn=Book.pdf
twitter.com/NSFWRedditGif

>mostly shit I already know from java tutorials
But it isn't. K&R is supposed to be an introduction to the C programming language for already experienced programmers, not an introduction to programming itself. Stop thinking that it's supposed to teach programming.

What would be the best book for an introduction to programming ?

C is written by idiots like this

So is a waste of time It seems that book, is 99% of shit I already know when I was learning java and pointers.

start with java, seriously.
then move to C++ or C.

Java will give you brain damage, and make it more difficult to learn C or C++ afterwards.

Oh yes, tell that to the fellas that write operating systems.

is easier and will teach the basics.
also, is good enough to get an entry level job.

>all programming is just OS coding

Well, C is one of the only languages that let's you grasp some important aspects on hardware and low level programming and still use some elegant high level structures. Besides the C language is highly orthogonal and redigible.

>redigible
wat

>what are loops ?

It's not that, is that C is so simple, 99% of the book will be covered by the same shit learning to java tutorials will cover (data types, execution flow, order of operations) and some shit like pointers and bitwise operators.

Ah, I forgot the UNIX OS, which is pretty useless today.

Not him but I'm guessing it was readable

Not all programming is OS coding, but I can't think of something that cannot be programmed in C. You can program games with openGL, you can program we applications with CGI, you can program GUI applications with GTK and so on, and so on...

Besides, almost every programming language borrows some elements of the C syntax, so, if you know C you can understand almost any other code in any other language. Exceptions to this rule like Prolog, Haskell are quite rare.

C is fine, but I won't recommend it to a begginer.

you don't put your kid into a BMX bike when he's just learning to use a toddler bike.

Same thing can be said about assembler, but that doesn't mean that people should learn it.

We use higher level programming languages because they abstract some of the ugly parts (e.g. pointers).

If user learns Java, he might use a hash table without knowing how it works, but maybe he'll know that it finds stuff in O(1).

If he learns C knowing that, when he actually goes ahead and makes a hash table implementation he'll understand why it works in O(1).

I meant writability, It was a typo. For more information on writability regarding programming languages read "Concepts of Programming Languages" from Robert Sebesta. I don't think C code have too much readability.

Started reading pic related.
Feels pretty good, mang.

Posting the link of the book here in order to make /g less illiterated.

kau.edu.sa/GetFile.aspx?id=203014&fn=Book.pdf

You can thank King Abdulaziz and his glorious university for the free book.

Praise Allah.
Allahu Akbar.

I learned programming using C language as my first language, and it was fine. The thing is, the learning curve is steep, and in the beginning you will type stuff that you don't quite know the purpose or the meaning.

sure, but like I said, java is easier.

Java will also impair you. The bits that look like C or C++ are deceptive and just confuse you.

It depends, I would say learning C is not needed for a lot of fields of programming.

you don't need C performance for bussiness applications.

I hear this meme all the time. Care to share an example?

easy how? Explain this shit to us user.

no having to deal with memory makes it easier for begginers.

user is too lazy to RAII and needs GC

GC is fine for non real time applications faggot.

>everything is muh games

>throttling performance because you're literally too dumb to clean up after yourself

>performance for some bussiness aplication your boss will demand you to code in java because his legacy 30 year old framework is made in java