Actually though, C is both simpler to learn than C++/Java and gives you a better awareness of what the machine is doing. This really isn't a "real programmers use butteflies moment."
x86 is an Eldritch Horror (as anyone who has tried to write a memory manager can tell you). Only Itanium has a remote chance of scarring your mind more.
MIPS, SPARC, 6502/6510, 65816, 68k, and even ARM are saner, easier to understand CPUs.
The trouble is that C++ is a big mess, and Java is a sort of mid-level language - it has garbage collection and all that, the main thing that makes it feel lower level than Javascript or Python is that it uses strict types.
C on the other hand is a genuinely low level language. You still have modules and structs, which give you some OOish abilities.
Totally! It's so versatile and easy to understand for how much power it gives you.
I'm with you on web stuff, it's much faster to spin up a php or node server and be off to the races, whereas .net you've either got to use a template or spend a ton of time getting yourself in a good place. That being said mvc/web api are a joy once you are fully setup
Well for PHP you pretty much need a framework unless what you're doing is less than 200 lines of code, and my limited experience with node is that you absolutely need something that imposes some more structure like a framework as well. I still agree php is better for most simple things, but as soon as you think it might become a medium large project I'd rather get out of php and spend the time doing it in something else, if only because debugging is such a pita to get working well.
I totally agree, I'm less familiar with PHP, but from my experience with node and PHP it's a lot easier to get something going, but when you really need to build out and do more, there's just no way you can roll vanilla. Hell, most people I know usually mean Node + Express when they talk about spinning up a node server. For anything of decent size, I would much rather work out of .NET with visual studio decked out
C would have less parallels. The fact it's missing all sorts of OO parts though is what keeps the language simple. It's much easier to develop an understanding of all the C keywords than in Java. Or god forbid, C++.
7
u/moh_kohn Jul 29 '15
Learn C. It's much simpler than either and will open your eyes to memory management.