I failed in C language , what about ruby on rails ??

Hello , I tried to learn C language , I failed twice in the C course(because of Binary trees) …
I believe that ruby on rails is the future , Should I give up on programming ? or there is no connection between Failing in C and Succession in ruby on rails ?

please , don’t hesitate to share us , your point and your experience .

haytham agbariah wrote in post #1137023:

Hello , I tried to learn C language , I failed twice in the C
course(because of Binary trees) ..
I believe that ruby on rails is the future , Should I give up on
programming ? or there is no connection between Failing in C and
Succession
in ruby on rails ?
please , don't hesitate to share us , your point and your experience .

I've been programming for many years using many different programming
languages. I barely consider the syntax of a language to be a major
barrier to success as a programmer.

The algorithms of a program don't change much between languages. Yes
some languages have feature that make things more convenient, and some
are more enjoyable to work with (as is the case with Ruby). However, if
you can't grasp the basic concepts then the choice of language isn't
going to suddenly cause everything make sense to you.

Take your example... If you failed to understand binary trees in C then
you won't understand binary trees in Ruby either. That being said I
would not give up on your efforts to be a programmer on the basis of not
understanding binary trees. The fact is that there's much one can
contribute without knowing a thing about binary trees. That can be
learned once you get a better overall understanding of programming. In
fact I'd likely have to go back and review them myself, even after all
my years of experience, in order to pass that C course.

This is a career that you don't want to choose lightly. If you are not
enjoying your experience learning to program then you might want to
think twice about continuing. Most great programmers I know do this
because they love doing it. If you don't then you're probably going to
cause yourself a world of frustration, which will bleed into every block
of code you write. This will eventually lead to frustration for other
programmers that will be obligated to go back and fix your code.

2014년 2월 18일 화요일 오후 7시 12분 31초 UTC+9, haytham agbariah 님의 말:

Hello , I tried to learn C language , I failed twice in the C course(because of Binary trees) …
I believe that ruby on rails is the future , Should I give up on programming ? or there is no connection between Failing in C and Succession in ruby on rails ?

please , don’t hesitate to share us , your point and your experience .

I guess you got too bored to continue to study ‘C’ when you studied binary tree…

Even though binary tree is very important, it is not necessary to understand binary tree while you are studying C.

Once you understand computer structure, C would be simple, and binary tree is not about C, just logical concept.

Ruby doesn’t have pointer, so the implementation of binary tree in ruby would be easier.

(Actually, pointer-like things(reference, …) exist in most langauges)

However, I recommend you to study C again without efforts on binary tree.

And watch this cute cat-drawing video.

Tonight, Yuna Kim will show you great performance in Sochi.

C, Python, Ruby, Java… it does not matter…

Learn binary tree is part of the process of learning algorithms, logic concepts.

Don’t give up. Try learning how to code on your own and see if that works. Create a real life problem that you want to solve, and code it with any language of your choice. Start with a small computational problem.

Some people don’t learn well in classes, so the fact that you failed a class may be irrelevant. Also it’s possible your professor did not explain the topic well. You need to figure out how you learn - either in classes or on your own, then stick to that. Many people need to have a practical problem to solve, and Teachers don’t always provide that.

And remember, it’s possible you may never need to use binary trees in real life.

-Wale