Which programming languages, other than C++, support operator overloading?
I know C++. Anything other? ...
I know C++. Anything other? ...
First, I am aware that dynamic languages is a term used mainly by a vendor; I am using it just to have a container word to include languages like Perl (a favorite of mine), Python, Tcl, Ruby, PHP and so on. They are interpreted but I am interested here to refer to languages featuring strong capability to support the programmer efficiency...
In Ruby, objects have a handy method called method_missing which allows one to handle method calls for methods that have not even been (explicitly) defined: Invoked by Ruby when obj is sent a message it cannot handle. symbol is the symbol for the method called, and args are any arguments that were passed to it. By default, the interp...
I have read quite a few articles on closures, and, embarassingly enough, I still don't understand this concept! Articles explain how to create a closure with a few examples, but I don't see any point in paying much attention to them, as they largely look contrived examples. I am not saying all of them are contrived, just that the ones I ...
What language do you find incredibly useful that no one else seems to care about? I am not looking for the language with the coolest features, but the language that makes you the most productive. I realize that a productive language that no one uses is a bit of an oxymoron. My personal choice would probably be ruby without rails, but ...
Every programming language I have ever seen has been based on the Latin alphabet, this is not surprising considering I live in Canada... But it only really makes sense that there would be programming languages based on other alphabets, or else bright computer scientists across the world would have to learn a new alphabet to go on in the ...
Let say we have a class MyClass that has and a memberfunc(). An object is created for this MyClass, say ObjA. i.e MyClass ObjA; ObjA calls memberfunc(). Can we get this name 'ObjA' inside memberfunc() programatically? Note: I know how to get the type of the object, i.e 'MyClass', using RTTI (Run-Time Type Identification), the sam...
What's the best language (in terms of simplicity, readability and code elegancy) in your opinion, to learn and work with metaprogramming? I think metaprogramming is the "future of coding". Not saying that code will extinct, but we can see this scenario coming on new technologies. ...
I'm slowly getting up to speed with jQuery and am starting to want to abstract my code. I'm running into problems trying to define click events at page load. In the code below, I'm trying to run through each div with the 'block' class and add events to some of its child elements by selecting them by class: <script language="javascript"...
What do functional programmers mean when they say a certain thing is composable or not composable? Some of the statements of this sort that I've read are: Control structures are not composable. Threads do not compose. Monadic operations are composable. ...
How do the Lambda Expressions / Closures in C++0x complicate the memory management in C++? Why do some people say that closures have no place in languages with manual memory management? Is their claim valid and if yes, what are the reasons behind it? ...
I've recently been looking into the topic of programming languages and from what I've seen, few to none serious languages try making really "new" things that were not seen before their creation. Why do all more or less successful programming languages since 1980 or so just combine aspects of their predecessors? I just can't believe t...
Hi! This is a reopened question. I look for a language and supporting platform for it, where the language could have pass-by-reference or pass-by-name semantics by default. I know the history a little, that there were Algol, Fortran and there still is C++ which could make it possible; but, basically, what I look for is something more mo...
Having never worked with Ruby on Rails, I looked it up on Wikipedia. It says It is intended to be used with an Agile development methodology that is used by web developers for rapid development. This got me asking how a given language/framework can be more appropriate for given development methodologies. Are there certain la...
Are there any good OOP languages that you can use on Linux? Obviously Java comes to mind, even running C# under mono. Looking for a language that can be used for all round development, web dev, desktop, services etc. Besides Mono C# and Java anything else come to mind? ...
Hello. I am developing functional domain specific embedded language within C++ to translate formulas into working code as concisely and accurately as possible. I posted a prototype in the comments, it is about two hundred lines long. Right now my language looks something like this (well, actually is going to look like): // implies tw...
I have been trying to read a file in "cp037" encoding scheme using JAVA. I able to read a file in basic encoding schemes like UTF-8, UTF16 etc...After a bit of research on the internet i came to know that we need charset.jar or international version of JRE be installed to support extended encoding schemes. Can anyone send me a link for i...
Possible Duplicate: what is the difference between const int*, const int * const, int const * what is the difference between : char const *p; const char *p; char *const p; ?? and is there a good site where i can relearn c and c++? it seems that i forgot it and job interviews doing me an hard time ... ...
By quote, what is the appropiate language to manipulate an Access database? A Windows user interface to manipulate an existing Access Database. ... and why? ...
Possible Duplicates: Good place to start learning ASP.NET Help getting started in programming? I am new to programming.How can I best start to learn?Thanx in advance...... ...