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

70 views
Skip to first unread message

haytham agbariah

unread,
Feb 18, 2014, 5:12:31 AM2/18/14
to rubyonra...@googlegroups.com
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 . 

Robert Walker

unread,
Feb 18, 2014, 9:39:27 AM2/18/14
to rubyonra...@googlegroups.com
haytham agbariah wrote in post #1137023:
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.

--
Posted via http://www.ruby-forum.com/.

Pinocchio

unread,
Feb 18, 2014, 11:50:10 PM2/18/14
to rubyonra...@googlegroups.com

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.


Felipe Carvalho

unread,
Feb 19, 2014, 8:51:42 AM2/19/14
to rubyonra...@googlegroups.com
C, Python, Ruby, Java... it does not matter...

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

Atc,
Felipe Carvalho
+55 61 9123 9264


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/625ebe9d-4938-4f26-a433-62246e860a8e%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Wale Olaleye

unread,
Feb 19, 2014, 10:27:02 AM2/19/14
to rubyonra...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages