![]() |
Re: Why I hate c
MPLAB need i say more
|
Re: Why I hate c
Code:
"d"v >v |
Re: Why I hate c
Its like an artform
Code:
"d"v >v>"e",v |
Re: Why I hate c
All I can say is "Weird..." :)
|
Re: Why I hate c
I'm another one of those intellectual masochists who love C. The biggest perk for me is how much control C gives you over both the internal workings of your program and the shape of your code itself. It has strong typing, so you can specify how big and fast you want your variables to be. It has pointers and references, so you can pass actual variables to functions rather than just the values of variables. It has structures, so you can organize data into big, meaningful chunks and create data types with sizes that exactly suit your needs. It has bitwise operators. It has functions with return values. In a desktop environment, C gives you even more control, with register variables, dynamic arrays, and in-line assember code (if you really want to beat yourself up ;)). C may be a little more unforgiving than some other languages, but I find that most of my stupid mistakes come from program structure, not syntax -- whether I'm coding in C, Java, Javascript, Perl, or PBASIC, I make the exact same amount.
|
Re: Why I hate c
Quote:
p.s. sorry bout the double-post :( |
Re: Why I hate c
Quote:
|
Re: Why I hate c
I love C, but I'm kinda sick in the way that assembly is my favorite language (despite the fact that I don't know too much of it). I like languages that make logical sense. I hate VB, it's absolutly awful. For instance:
"if cheese = 0 then" compared to "if (cheese == 0)" the second just makes sense to me. The first, it's like "Wait, so am i setting cheese equal to zero, or am I just comparing it?". Once you study C, you see the merits to how it behaves and why. It's much more logical than VB once you understand it. In order to gain a true appreciation for C though, you need to study C with assembly. Only then is the true beauty of C revealed. |
Re: Why I hate c
I have an advantage: I learned VB first. But it's really nice for making small/micro apps. Like one that finds the factors and prime factorization of a number.
|
Re: Why I hate c
Don't put down VB I admit that C may make more sence but VB still has the advantage of simplicity. It is point and click. I mean sure the code is not exactly the best but it is still easy once you know how it works, just like anything. It is easy, but only after you know how it works.
|
| All times are GMT -5. The time now is 00:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi