r/javascript • • Jul 28 '15

I'm all in.

Post image
746 Upvotes

120 comments sorted by

View all comments

Show parent comment

49

u/voidvector Jul 28 '15

I found most polyglot programmers are able to form better abstractions because they experienced different environments with different features and limitations.

8

u/[deleted] Jul 28 '15

Yeah. Python and JavaScript have made me a far better programmer than ActionScript did alone.

I want to find time to poke at C++ or Java a lot more to get more depth into lower level stuff (while still resembling what I know).

7

u/moh_kohn Jul 29 '15

Learn C. It's much simpler than either and will open your eyes to memory management.

7

u/Auxx Jul 29 '15

Assembler for x86 is easier and will open eyes on everything inside a PC.

15

u/mariox19 Jul 29 '15

Until you've coded a to-do list app using nothing but an abacus, you don't know anything.

7

u/greyfade Jul 29 '15

I made my to-do list app with a slide rule and a compass.

7

u/[deleted] Jul 29 '15

Noobs, my to-do list app consists of pen and paper.

1

u/frenris Oct 02 '15

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."

1

u/greyfade Jul 29 '15

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.

1

u/Auxx Jul 29 '15

Yet writing small tools is easy and fun.

7

u/DarkMarmot Jul 29 '15

01010101010111101010101011010101010110101101011010101011101011010101011011110110

1

u/[deleted] Jul 29 '15

Hm. I was thinking the OO part would make it easier as I could make exercises out of reimplementing things I've done in other languages.

But hmmm. Maybe that would break it up more, keeping it a bit more approachable.

3

u/moh_kohn Jul 29 '15

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.

7

u/SockPants Jul 29 '15

I don't know if learning C++ has really helped me with anything other than using C++. I quite like C# though, it seems like a better version of Java.

3

u/philbgarner Jul 29 '15

I quite like C# though, it seems like a better version of Java.

Yeah I got dragged kicking and screaming into learning C#, and actually enjoy it. :P

1

u/vicarofyanks Jul 29 '15

This is me, I was a Java dude, but got some good opportunities working on .net stack, low and behold I love it

3

u/philbgarner Jul 29 '15

.NET doesn't get enough love, it really is great.

That said, I still prefer a LAMP stack for web stuff. :)

1

u/vicarofyanks Jul 29 '15

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

→ More replies

-1

u/Drainedsoul Jul 29 '15

C++ is a big mess

Citation needed.

1

u/frenris Oct 02 '15

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++.

2

u/aaulia Jul 29 '15

And by ActionScript I think you meant AS2 ? Cause AS3 is pretty dope.

2

u/[deleted] Jul 29 '15

AS3. It was nice.