Favorite programming language?
-
Prolog is cool. Ryan Johnston
I like the concept of a logic-based language. IT could get you in trouble though. The only time I've used Prolog was in a programming language course back in my college days. I can barely remember the syntax. You could write a very simple program that would sort a list of numbers, by asserting that a particular list was in order. The problem was, it would try every permutation of that list of numbers until it found one that satisifed that condition (was sorted.) So you ended up having an O(n!) sorting algorithm! We later learned other ways of doing it. :-O There are three types of people in this world: those who can count, and those who can't.
-
I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!
1. C++ 2. JavaScript 3. Java (and probably C#) C++ has tons of features -- it's hard outgrow it. Templates, default parameters, multiple inheritance, preprocessor macros, stack allocation of objects, operator overloading, direct access to native APIs, etc. JavaScript has the C syntax and adds it's own set of unique features. I like being able to add functions or properties to a class on the fly. Java also maintains the C syntax but keeps things type-safe and simple. A couple of features I love about it are inner classes and the ability to override a method without causing other overloaded methods to be hidden, like in C++. Also, when it comes to portability, Java is nice. Regards, Alvaro Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein
-
You guys are all sadistic. Okay, I admit that C++ is essential at times. And I understand the fact that C++ (and even moreso assembler languages) are like the programming equivalent of extreme sports (doing things the hard way just to prove that you can). But how can anyone claim that C++ is their favourite language? All that vile string handling and taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). VB for GUIs, C++ / ATL for any real work. Borland did a reasonable job of combining the two with BCB. C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. Paul
pdriley wrote: All that vile string handling and taking two days to write a simple dialog Um gee, that's a cookie-cutter excuse if I ever heard one. Fact is, I rarely use MFC for my Win32 coding, and I can put together a dialog-based app in no time. Oh wait, it gets better, I actually save my code to reuse, so I can throw one together in a few minutes. That's because I know what I am doing instead of looking at it only to realize it involves too much thinking. Gee, something so simple as subclassing seems so cryptic to most VBers - not to mention VB crashes all too often when doing that. When it's all said and done, I still have more control over my program. Oh, and if you do end up using a lot of raw Win32 API in VB, not only is it a pain in the butt to deal with all the declarations, but it still becomes just as arduous (as you say) as C. Jeremy Falcon Imputek "C# is the answer to a question nobody asked." - Chris Losinger
-
You guys are all sadistic. Okay, I admit that C++ is essential at times. And I understand the fact that C++ (and even moreso assembler languages) are like the programming equivalent of extreme sports (doing things the hard way just to prove that you can). But how can anyone claim that C++ is their favourite language? All that vile string handling and taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). VB for GUIs, C++ / ATL for any real work. Borland did a reasonable job of combining the two with BCB. C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. Paul
pdriley wrote: You guys are all sadistic. I believe you meant to say that we are all masocistic (which indicates that we enjoy hurting ourselves, whereas sadistic indicates we enjoy hurting others). pdriley wrote: (doing things the hard way just to prove that you can). I actually see it more like doing it the right way, rather than the hard way. To me, C++ is much more elegant than VB. If you want a rapid development environment, I'd say to use C#. VB is so dirty. pdriley wrote: taking two days to write a simple dialog Try to make a complex one in VB and see how long it takes you. I guess VB is great for cookie cutter design, but C++ gives you a lot more control. Ryan Johnston
-
I like the concept of a logic-based language. IT could get you in trouble though. The only time I've used Prolog was in a programming language course back in my college days. I can barely remember the syntax. You could write a very simple program that would sort a list of numbers, by asserting that a particular list was in order. The problem was, it would try every permutation of that list of numbers until it found one that satisifed that condition (was sorted.) So you ended up having an O(n!) sorting algorithm! We later learned other ways of doing it. :-O There are three types of people in this world: those who can count, and those who can't.
Navin wrote: like the concept of a logic-based language I like the concept too, but I could never see using it for anything. Ryan Johnston
-
You guys are all sadistic. Okay, I admit that C++ is essential at times. And I understand the fact that C++ (and even moreso assembler languages) are like the programming equivalent of extreme sports (doing things the hard way just to prove that you can). But how can anyone claim that C++ is their favourite language? All that vile string handling and taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). VB for GUIs, C++ / ATL for any real work. Borland did a reasonable job of combining the two with BCB. C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. Paul
pdriley wrote: All that vile string handling and taking two days to write a simple dialog What about us who don't "write dialogs"? ;P It would be insane to use VB for a server side application (unless you use COM+ or something). :beer:
-
Nemanja Trifunovic wrote: It would be insane to use VB for a server side application No kidding, I personally think that UI design is the lamest thing you can do in computer programming. I hate windows programming. The fun stuff is at a much lower level. Ryan Johnston
Ryan Johnston wrote: No kidding, I personally think that UI design is the lamest thing you can do in computer programming Ditto. :beer:
-
pdriley wrote: All that vile string handling and taking two days to write a simple dialog What about us who don't "write dialogs"? ;P It would be insane to use VB for a server side application (unless you use COM+ or something). :beer:
Nemanja Trifunovic wrote: It would be insane to use VB for a server side application No kidding, I personally think that UI design is the lamest thing you can do in computer programming. I hate windows programming. The fun stuff is at a much lower level. Ryan Johnston
-
I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!
C++ most hated: LISP - Lots of Inutile Stupid Parentheses Concussus surgo. When struck I rise.
-
Ryan Johnston wrote: No kidding, I personally think that UI design is the lamest thing you can do in computer programming Ditto. :beer:
No way! I find it really rewarding when someone can look at my program and intuitively figure out how it works because I've designed a good UI. And besides, being a consultant, there isn't anyone I can share my code with and have them ooh and ahh (or maybe barf and puke). The UI is where the fun stuff is, because that's where the "social" aspect of programming comes in--it's how people "talk" with the program. Marc
-
COBOL and PL/I :eek::eek: just kidding... Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
I rememeber the days when I was using the Digital Research PL/I compiler on CP/M. Life was sooo much simpler then.;) Neville Franks, Author of ED for Windows. www.getsoft.com
-
No way! I find it really rewarding when someone can look at my program and intuitively figure out how it works because I've designed a good UI. And besides, being a consultant, there isn't anyone I can share my code with and have them ooh and ahh (or maybe barf and puke). The UI is where the fun stuff is, because that's where the "social" aspect of programming comes in--it's how people "talk" with the program. Marc
Marc Clifton wrote: because I've designed a good UI Yeah, but it isn't that technically chalenging. It is mostly an exercise in good human interaction design (which I'm not saying is any easier). I personally find that completely boring. On top of that, it is so subjective. There is no right answer. No matter how much work you put into it, it could always be better. I find that lower level stuff is not only more technically chalenging, but it allows me to be really creative. If you make a "creative" UI, most people will hate it because it is different, and consequently harder to use. I would hate to have my design be limited to what a user expects to see. Where is the inovation in that? On the other hand, if I can come up with an entirely new system for managing data, or a new network protocol, or a new windows framework (I hate UI design, but I would love to design something like MFC), or something like that, I really have a chance at a new solution. That is where the fun stuff is. At least that is why I am a programmer. Ryan Johnston
-
I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!
What does it matter which language is your favourite so long as you can code with it in Dreamweaver? :rolleyes:
David Wulff http://www.davidwulff.co.uk
Old Macdonald had a farm and I had it after I had the cows, I had the pigs I'm an animal shafter
-
I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!
Let me think.... :P Naturally, it's C++. I HATE vbscript, and I am still not convinced about C#, mainly because of all the fundamental stuff it is missing. I can deal with small doses of jscript, if I've had an otherwise good day. Christian We're just observing the seasonal migration from VB to VC. Most of these birds will be killed by predators or will die of hunger. Only the best will survive - Tomasz Sowinski 29-07-2002 ( on the number of newbie posters in the VC forum ) Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002
-
You guys are all sadistic. Okay, I admit that C++ is essential at times. And I understand the fact that C++ (and even moreso assembler languages) are like the programming equivalent of extreme sports (doing things the hard way just to prove that you can). But how can anyone claim that C++ is their favourite language? All that vile string handling and taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). VB for GUIs, C++ / ATL for any real work. Borland did a reasonable job of combining the two with BCB. C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. Paul
pdriley wrote: All that vile string handling You're thinking of C. std::string is perfectly OK. pdriley wrote: taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). 1. MFC is VERY easy. 2. If MFC is cheating, so is VB or C#. Remember, they are all calling the Win32 API at the end of the day. pdriley wrote: C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. It's got a lot of nice things, but it's missing a lot of essential stuff as well. It's a good toy language for web development, it may grow into a contender for writing apps where you'd currently use C++, but it's not there yet. Christian We're just observing the seasonal migration from VB to VC. Most of these birds will be killed by predators or will die of hunger. Only the best will survive - Tomasz Sowinski 29-07-2002 ( on the number of newbie posters in the VC forum ) Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002
-
pdriley wrote: You guys are all sadistic. I believe you meant to say that we are all masocistic (which indicates that we enjoy hurting ourselves, whereas sadistic indicates we enjoy hurting others). pdriley wrote: (doing things the hard way just to prove that you can). I actually see it more like doing it the right way, rather than the hard way. To me, C++ is much more elegant than VB. If you want a rapid development environment, I'd say to use C#. VB is so dirty. pdriley wrote: taking two days to write a simple dialog Try to make a complex one in VB and see how long it takes you. I guess VB is great for cookie cutter design, but C++ gives you a lot more control. Ryan Johnston
Ryan Johnston wrote: VB is so dirty. Oh, yeah !! Ryan Johnston wrote: I guess VB is great for cookie cutter design, but C++ gives you a lot more control. Exactly. Christian We're just observing the seasonal migration from VB to VC. Most of these birds will be killed by predators or will die of hunger. Only the best will survive - Tomasz Sowinski 29-07-2002 ( on the number of newbie posters in the VC forum ) Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002
-
pdriley wrote: All that vile string handling You're thinking of C. std::string is perfectly OK. pdriley wrote: taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). 1. MFC is VERY easy. 2. If MFC is cheating, so is VB or C#. Remember, they are all calling the Win32 API at the end of the day. pdriley wrote: C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. It's got a lot of nice things, but it's missing a lot of essential stuff as well. It's a good toy language for web development, it may grow into a contender for writing apps where you'd currently use C++, but it's not there yet. Christian We're just observing the seasonal migration from VB to VC. Most of these birds will be killed by predators or will die of hunger. Only the best will survive - Tomasz Sowinski 29-07-2002 ( on the number of newbie posters in the VC forum ) Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002
:) I kind of expected most of these responses. Some people have missed the point that I do see the necessity of C++, in fact I'd say 90% of my work-related programming is C++. I do believe in using the right tool for the right job. If I was writing a batch mainframe program that simply picks data from a hierachical database and writes a report, you can be damned sure I'd want to use COBOL. But the question wasn't "which is the most powerful", it was "which is your favourite. Before .NET came along, VB was my favourite. As I said, I'm reserving judgement on C# but it does seem at first glance to be better than VB. Final note: when I said MFC was cheating I meant in terms of "doing it the hard way just because you can." It was a bit of a joke, I didn't think anyone would take me that seriously ;) Paul
-
I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!
I think the best thing since slice bread is Delphi. This is the most RAD tool I know. Love also C++ wich is my main foucs at work. I'm now digging in C# wich is very good since it's by the same guy who created Delphi...:-D
-
No way! I find it really rewarding when someone can look at my program and intuitively figure out how it works because I've designed a good UI. And besides, being a consultant, there isn't anyone I can share my code with and have them ooh and ahh (or maybe barf and puke). The UI is where the fun stuff is, because that's where the "social" aspect of programming comes in--it's how people "talk" with the program. Marc
I agree about UI programming. I hate programs with clumsy interfaces, so I like to make mine as friendly and intuitive as possible. Things like giving error messages in normal english that explain how to fix the problem, or making dialogs with big lists resizeable. _____________________ "They'd dearly make us pay For laughing in their faces And making it our way" -Love My Way, Psychedelic Furs
-
1. C++ 2. C 3. Z80 Assembler 4. Fortran 77 ;P :beer:
Nemanja Trifunovic wrote: Fortran 77 its FORTRAN :-) Regardz Colin J Davies
Sonork ID 100.9197:Colin
You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.