Type casting

Apr 12, 2013 at 7:54pm
I find type casting to be very hard to grasp, I am not sure why. I understand how it works I suppose, but I find it hard to grasp why it would be needed in programming. So my question is, how often is type casting used in general programs? Is there an easier way I could be trying to teach myself about it? I am just using the tutorials provided by this site. Thanks for any information.
Apr 12, 2013 at 7:57pm
Type casting is seldom used, generally only in rare cases. You shouldn't worry about it too much - using type casts is considered poor program design anyway. If anything, it is used way too often by novice programmers.
Last edited on Apr 12, 2013 at 7:58pm
Apr 12, 2013 at 8:09pm
Oh this is great news. Thanks LB, takes a ton of pressure off.
Topic archived. No new replies allowed.