Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I have been asked to learn C language

 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, my name is Jeffry, I'm working as a Java Instructor, many weeks ago, I have been asked to learn JavaScript to teach it in the class. I thought that was OK since JavaScript and Java is similar.

Yesterday, I have been asked to learn C to teach it in the class. Does learn C can make my Java Skill rusty? Until now I'm still learning Java, in fact, I'm planning to take SCJD. Please give your opinion and suggestions.


Thanks

Jeffry Kristianto Yanuar

SCJP 5.0
SCJA
planning to take SCJD
 
Gabriel Claramunt
Ranch Hand
Posts: 375
Monad Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Learning something new will never make you "rusty", more like the opposite!
C is a interesting language to learn... some qualify it as "portable assembler".
Javascript can be deceiving... the similarity to Java is only superficial... look at this example of useful iteration methods


[Fixed the link]
[ June 06, 2008: Message edited by: Gabriel Claramunt ]
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Learning something new will never make you "rusty",


I mean, will my new C skill interference my Java skill?
 
arulk pillai
Author
Ranch Hand
Posts: 3387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a choice you need to make based on your career aspirations, market demand, etc. It won't hurt to learn but you may think that you could have learnt something else that is more in demand.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeffry Kristianto Yanuar:
I thought that was OK since JavaScript and Java is similar.
What's similar between Java and JavaScript. Apart from the name, they are completely different.

No, I don't think learning C will make your Java rusty. But remember C is a totally different language again. It is written in what Java programmer consider a very old-fashioned style.
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java and JavaScript have similar syntax.


Maybe I'll learn C as a secondary skill and Java as my primary skill. I have been asked to learn only fundamental C.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeffry Kristianto Yanuar:
I have been asked to learn only fundamental C.
Does that mean without pointers?
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here what I have to learn about C.

 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whats the problem. It wont hurt your Java skills in any way. In fact your fundamentals will get stronger, and you'll come to appreciate Java even more. This will make for a good discussion in the interview.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At the level of individual lines of code, Java, JavaScript, and C share a common heritage and are therefore quite similar. In fact, you could argue that C and Java are more similar than Java and JavaScript at that level. For example

int a = 2;
int b = a * 7;
int c = a + b;

is valid and idiomatic code in both Java and C, but not Javascript.
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, maybe by learning C, I can be more realize how powerful the Java programming is. is that right?
 
arulk pillai
Author
Ranch Hand
Posts: 3387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most developement jobs are Web based and knowing Java Script can be handy.
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for all your reply, I already bought book titled "C for Dummies". Do you already know about that book? give me your opinion about the book please. I'll teach the class in next saturday.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic