
Journal Shadow Wrought's Journal: Ask /. : Perl v. C++ 28
-
C# Programming for the Absolute Beginner
Advantage: Works great for making slick and easy windows programs and I use XP at home.
Disadvantage: As I understand it this is a very Windows-centric language and I would prefer to learn something that I can also use on Linux or BSD. -
C++ Programming for the Absolute Beginner
Advantage: One of the main things I want to do with coding is make a game or three. I have a couple ideas that I think would be a lot of fun and, as I udnerstand it, C++ is the main language used for gaming.
Disadvantage: For starters I'd have to kick down an extra $70 or so for the Borland Compiler suite- unless I can obtain a copy of it from a friend of mine or make different arrangements with the teacher. While it is more cross-platform than C# I think it still requires considerable skill to code for different OS's. SQL: Level I
Advantage: While we do get in the occasional Access database, and this would be useful for dealing with it, we don't use Access all that much.
Disadvantage: Most of the database work I do is in Concordance which, in addiiton to being a kick-ass litigation-centric database, is relational in nature. So I just don't know how useful SQL would be. I'd also need to ahold of either a database or SQL Server.-
Perl Programming: Level I
Advantage: This will likely help with the occasional work project when it would be nice to manipulate different datasets. The requirements are also free and it works across platforms. Finally, and again this is based off of my admittadly ignorant understanding, Perl habits can be used in Python as well; the language I was originally going to try and learn.
Disadvantage: I don't know that there's a whole lot of Perl games out there;-)
Finally, I realize that programming is something that can be learned via tutorials and books, but, frankly, unless I have that class providing deadlines and instruction, I will simply keep putting it off. So it is simply not for me. A this point, I am leaning towards Perl being the best of the best of the bunch. It will be useful for work, I can get my feet wet, and I can always go back and learn something else later on. C++ is second because it is such a powerful language and I could learn it well enough to actually code some games. The other two just don't really appeal, but if you can make a good argument, I would certainly reconsider.
In advance I thank you for your thoughts;-)
C++ (Score:2)
SQL: Only for databases.
Perl: Scripting language. Interpreted. In other words, it's "slow", like C#. (But, RG, aren't you going to write jcrpg in Java now? Yes, because it's a frickin RPG, where I don't care about speed as much as I would if I were writing Doom 4.)
C++: Object oriented, can still drop down to assembly if required.
Que
Re:C++ (Score:2)
Advice right chere (Score:2)
Don't worry about buying a compiler and all that nonsense. Just get gcc and a nice open source editor (eclipse?).
Oh, and forget the game unless you have a ton of time to:
A.) Learn the language entirely. This can take several months to several years.
B.) Ti
Re:Advice right chere (Score:2)
Re:Advice right chere (Score:2)
When people whine and moan about readability and perl, I always like to mention that any language can be hard to read (perl can made to be extra hard to read) but any decent programmer can make perl or any other language readable (say hello to your friend the comment for example).
Re:Advice right chere (Score:2)
Granted, perl is great for shell scripting and admin practices, but if you want to learn to program, go with a programming language.
Re:Advice right chere (Score:2)
As for the games, the more complex one is a topdown 2d wargame. Basically a generic tabletop wargame for the 'puter. It would use hexs and different tiers of equipment to work itself out. The 3D shooter I'd like to make I would try to borrow one of the free FPS engines and simply modify that. The other 3D game would b
shame (Score:2)
so in conclusion
Perl , is obsolete(hate to admit that) unless you have a real reason to need to know perl you can get by with a much easier to learn modern scripting language.
C# , it's Java
Re:shame (Score:2)
Of course, speaking of dead, Obj-C was losing market share before it left the gate.
Re:shame (Score:2)
Obj-c is currently undergoing a renaissance with OS X and is gaining a lot of ground , I have been learning it recently and have been fairly impressed with it
I have been switching everything I can over to ruby recently due to its incredible ease of use and it is a dream to maintain on par with Pascal
CPAN is an important factor for Perl still being alive , but I
Re:shame (Score:2)
Oh, well, I've been to Perl Mongers meetings, and even done lightning talks, so perhaps I'm biased, too.
Re:shame (Score:2)
I imagine I will drift towards perl again next year I am really finicky about it , a Love/ Hate relationship
Re:shame (Score:2)
Re:shame (Score:2)
Re:shame (Score:2)
What annoyed me was that, at the time (~'93) I had a stock A1200 with a 68020 and 2 megs of RAM. The school Macs were 68040's with 8megs of RAM (I think). My Amiga was faster and more stable, but I still had to use the Macs for certain things. Annoyed the biological waste out of me.
Re:shame (Score:2)
I liked my Amiga and it certainly was stable
My way... (Score:2)
For all of them, the hardest part is learning the libraries that are bundled (varies by language and platform). Most overlap for available libraries is Perl followed by standard C, follo
A couple of things... (Score:1)
1. Not every problem lends itself well to object oriented programming.
2. Even nowadays, C++ is not as portable as other languages, such as C. This could be important for some applications.
What to learn... (Score:2)
I'd advise learning C++, particularly if you're interested in making a game. I've been using it since 1991 (Turbo C++, then Borland, then Microsoft), and I like the language a lot. It's not easy, but it is very powerful. And, should you need to, you can get right down to the metal. But learn some good object-orien
Re:What to learn... (Score:2)
One example I can think of right away: Accessing a Web service via SOAP. The C# hits me with a 3 second response time (!!!) whereas a C++ object generated with sproxy.exe (uses COM) or gSoap is less than 1 second.
My guess is that C# is a lot like Java (which I do not know), so what FK said in that vein is likely accurate.
I know both C# and Java. Once you know one, picking up the other is a pretty trivial matter. C# = Java, only
Re:What to learn... (Score:2)
Re:What to learn... (Score:2)
And that's something that, regardless of language, I want to do. Since this is just getting me started, I don't want to pick up bad habits right off the bat. C++ in some ways appeals to me because, on the surface at least, it looks to be the more challenging of the two. I've always found it easier to start with the hard stuff, then everything else
C++ (Score:1)
You are probably a lot more likely to find people to help you with C++ on here rather than C#.
I would be surprised if either class was a really good introduction but if it gets you thinking more like a programmer it is a step in the right direction.
Re:C++ (Score:2)
That's a huge part of it. I want to get the basics down. Once I have some initial learning and know a bit better what I'm doing, then I feel like I can move forward and learn a lot more.
no suitable answer (Score:2)
i was a graphic designer, with zero experience in programming or computers for that matter.
one day i got curious and started dabling with html... making a website (in '93) for my zine. i then learned about cgi because i wanted to have a guestbook. i hated all of the guestbooks (about three of them at the time). so, i got the code for one that i hated the least and said "what the fuck is this shit?"
it was written in perl (4). i had no idea,
Re:no suitable answer (Score:2)
The key, as it were;-) Thanks for the thoughts and a telling moral. I see myself in my current position for a looong time, but I would like to add some languages to my knowledge base. Since this will be an intro, I will certianly not be limited whatever my choice.
Use Linux! (Score:1)
Disadvantage: For starters I'd have to kick down an extra $70 or so for the Borland Compiler suite- unless I can obtain a copy of it from a friend of mine or make different arrangements with the teacher. While it is more cross-platform than C# I think it still requires considerable skill to code for different OS's.
Not true... just use gcc compiler that comes standard with Linux as a nice "free" alternative. If you are going to utilize Linux for this purpose mig