![]() |
Programming Thread
This thread is for any discussion of programming or programming languages. Feel free to ask questions or share code or ideas with others here (though please put any code into Pastebin and link to it instead of simply pasting within the thread). If you want to recruit someone to work on a project, please ask them with a private message or visitor message and not here, as this thread is for discussion purposes only. Also, this thread does not include discussion of web-based languages such as HTML, PHP, etc., as discussion of these belongs in the Webmaster Discussion subforum.
I'll start off with a few recommendations for new programmers. Python and C# are two great languages that can help you understand concepts used in many languages. Python is relatively simple and should help you begin to think like a programmer. You can download Python here and find the documentation here. You should follow the documentation to get it set up, as it is a rather complex process. As for C#, it is a powerful and relatively simple language that uses syntax similar to many very popular languages. You can download it here and find documentation here. I recommend C# over Visual Basic, which many cite as an introductory language, because it uses syntax far more common in the programming world while maintaining all of the same functionality. Here are two additional documents (here and here) for C# programming, these ones documenting suggested programming style. I also recommend that any programmer, regardless of experience, read through Structure and Interpretation of Computer Programs. It is especially useful for aspiring programmers, but anyone will benefit from reading it. Finally, for those of you looking for a good editor, my favorite is Notepad++. It's lightweight and has syntax highlighting for all of the major languages and also has plugin functionality. For those looking for a full IDE, Eclipse may be more to your liking. |
Only just noticed this thread.
The editor I am using is Visual Studio 2008, as I am using it for XNA Games Studios. It is a great editor, but can throw you off sometimes with the debugging, as it will say there is a problem in this place, but it is somewhere else. I use C#, C++ and XNA (Much like C#) mostly. |
My main editor is Visual Studio 2010, but I currently am more interested in using free and open technology so I am using Code::Blocks for my C++ development.
I highly recommend to learn C++ first for those interested in programming. It's a great multipurpose language, with low-level abilities when needed. Sure it has it's difficulties, but you can go over them easily. The tools would be the Code::Blocks IDE or the Visual C++ Express. Both are free and include a compiler so you don't have to do a big hassle to get your programs running. Quote:
I program in C++, C#, PHP (sadly, my strong field. Everyone is learning PHP this days >_>), I'm sure there is no need to mention I know HTML, CSS, and JS very well. Anyways, I really know my way around programming so if anyone has questions I will be glad to help. |
Quote:
That explanation was more for people who didn't know what XNA was =] |
Because I'm an enormous Macfag, I use the Xcode toolchain with Objective-C as the primary language. That said, every once in a while I play around with Java/Ruby/Python, etc.
If anybody has any questions regarding Mac OS X/iOS development, or their related frameworks (Foundation, Cocoa and Cocoa Touch), I'm your man. |
Quote:
|
I am in love with Visual Studio 2010 (& 2008 for XNA)! :)
On Ubuntu I use gedit, that's all I need. Currently programming in C# (Only for XNA) and C++ (My favourite). Even with C++, it's mostly OpenGL programming :P I'm trying to teach myself Python, I already know Ruby and PHP and a few other languages for scripting. At school we have to use Turbo C++ 3.0, it's so freaking old, that it doesn't even have container classes, std::cout fails, NO string class! Man!!! |
Quote:
|
I would recommend Assembler for real low-level programming. ;P
C++ is not exactly low level, but it gives you that ability in case you really need it. I have never toyed with C personally, I just know it has some differences like the method it uses for dynamic memory allocation and it has no classes (main addition to C++). |
Quote:
|
Quote:
|
Is nobody interested in VB now a days? I didn't do VB.Net, but VB is cool! Yeah I know you can do it all in C# too.
|
Quote:
Good for beginners; that's all, but it's easy to switch to C#... And well, C / C++ really out-perform either and provide more possibilities. There are other languages too, Java etc. Besides C# is a GOOD language, why would you stick to VB. |
I'm not sticking to VB, infact I'm not actually programming in any language now. Very busy due to studies. And yeah I programmed a little on C# using Visual Studio 2008, it was cool. Very much like VB. Programming very much like JAVA. But I have great memories with VB, and that is very cool too. It's a great language of its time.
|
Not really... VB was nothing more than a beginner's language:
BASIC: Beginner's All-purpose Symbolic Instruction Code Even at it's time, C/++ and Java were still better... They teach VB at universities to science students to teach them logic, but it has no value beyond that. When programming in languages like C++, you spend more time solving technical issues with the code than logic related problems... |
Quote:
Quote:
|
"Oh ****!"
I hate how there are containers for dynamic arrays, strings, just nothing for floating point numbers or integers. Would be interesting to create a class like that :) |
Quote:
I would love to see some sort of nice solution for the floating point problem, though. |
I've programmed in C most of my life... Then a mix of C and C++ (I know, horrible!) Now as I'm being introduced to new things in C++, I'm liking it more...
Even though I'm moving to C#, but it's there for nothing more than XNA, for me. If not a class, a library maybe :) |
There may already be good solutions out there. I'd be interested in seeing if there are any open source projects that make it so the programmer doesn't have to worry about it as much.
|
Can GNU MP library do it?
I still don't understand what they mean by multi-precision... |
Quote:
I'm not sure if it would work, it's certainly something I'll look into. This page (linked from the Wikipedia page about GNU MP) also looks promising. |
Quote:
I'll check it out too and try to make it work... It's just that, implementing such things on your own is an interesting task, that's why I was interesting in trying it out :P EDIT: We had this competition at a school, and the questions were horribly ripped off from SPOJ... There was one to calculate 100! and display it accurately. I remember seeing so many people defining their factorial functions to return long long long long long long long ... Those were some really weird questions (4 programs) for high school level to be done in 1.5 hours... |
Do any of you have a basic code template for a style switcher? I haven't been able to make one for some reason...
Please reply with a VM/PM, though |
Quote:
|
| All times are GMT -8. The time now is 11:16 PM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.