Javascript is an incredible language and libraries like jQuery make it almost too easy to use.
What should the original designers of Javascript have included in the language, or what should we be pressuring them into adding to future versions?
Things I'd like to see:-
Some kind of compiled version of the language, so we programmers c...
Hi all,
I got one problem at my exam for subject Principal of Programming Language. I thought for long time but i still did not understand the problem
Problem:
Below is a program C, that is executed in MSVC++ 6.0 environment on a PC with configuration ~ CPU Intel 1.8GHz, Ram 512MB
#define M 10000
#define N 5000
int a[M][N];
void main(...
I have read numerous time that learning a language such as Haskell, Lisp or Smalltalk will somehow make you a better programmer while you program in other languages.
Is there more than just anecdotal evidence for that claim?
Or is it just the way people rationalize having spend a lot of time learning a programming language that they wi...
I was just remembering back my university classes and was wondering to know if anyone out here even used the "Z notation" in a professional environment. I honestly must say that it was the single most boring class that I have ever attended in my life. Maybe because of the teacher, but at the time we really all thought it was a big wast...
I came across the following function signature and I wondered if this (the ellipsis, or "...") is some kind of polymorphism?
#include <fcntl.h>
int fcntl(int fd, int cmd, ... );
Thanks in advance.
...
I was wondering if anyone knew why some programming languages that I see most frequently spelled in all caps (like an acronym), are also commonly written in lower case. FORTRAN, LISP, and COBOL come to mind but I'm sure there are many more.
Perhaps there isn't any reason for this, but I'm curious to know if any of these changes are d...
Even 2 decades ago, it was possible to call code written in one language to call code written in another; in school we called assembly graphics routines from within Ada code for one class assignment. Notable exceptions are running compiled code from within scripts or executing a system command from within compiled code; but rarely do we ...
I don't know if I am a bad programmer because I often make mistakes when outputting information on a site, things like "thanx for subscribing to our service" instead of "Thanks for subscribing to our service".
I think this is because I usually don't concentrate on the spelling, my main focus is to get the functionality running perfectly...
I'm wondering if anyone knows of any declarative language to express absolute date-time multi-intervals. I mean sets which are the union/intersection/complement of time intervals.
Intervals I would like to represent are like:
(
(from the second day of the month to the 10th) intersection (months 1,2,3,10)
)
union
(
(from the second ...
Why is it that so many programming languages make it possible for a function to modify an object passed to it as a parameter, without having some sort of syntax to make that clear to the caller. Eg consider:
SomeObject A(15), B
B = DoSomething(A)
print(A + " " + B + "\n)
Reading that code you would expect the output to be something li...
I'm designing a programming language which compiles to an intermediary bytecode. However, I'm having a lot of trouble designing the bytecode structure. Does anybody have any pointers on how to represent a program in binary? Alternatively, are there any resources (preferably free) on how to do this? The closest I've found is the descr...
I will be graduating next year and would like advice on languages that are in demand, I already know C,C++, PHP and Java. I would like to learn other languages that might help me get a good job. would .Net and Ruby suffice? should I learn scripting languages such as Python and Perl as well?
Wow! so many responses in just a couple of min...
I like to program at my college's computer labs (a Windows environment). Unfortunately, the labs have IDEs & compilers for classes being taught that particular semester, which usually comes down to C, C++, and Java. I'm at a point where it's good for me to play around with a lot of different languages. I'd like to be able to do with from...
Why is C language called "C". Is C stands for "Compiler"?
Another question: Why C++ has two pluses? is it because it is Second version of C?
What about C#, is # stands for four pluses (++++)? Is there going to be something else in the future, something like C~ or C*.
...
I'm a scientist working mostly with C++, but I would like to find a better language. I'm looking for suggestions, I'm not even sure my "dream language" exist (yet), but here's my wishlist;
IMPORTANT FEATURES (in order of importance)
1.1: Performance: For science, performance is very important. I perfectly understand the importance of p...
G'day,
When was the last time you did something new? And what was it?
Language - Erlang?, Haskell?, C++ instead of C?, Ruby?, C# from Java?, etc.
Platform - Linux from Unix?, ASP.NET from .NET?, Unix from Windows?, etc.
IDE - Eclipse from VS?, Netbeans?, etc.
Approach - OO from functional decomposition, etc.
Role - Architect from deve...
I'm taking a course on programming languages and the answer to "when is a function a sub type of another function" is very counter-intuitive to me.
To clarify: suppose that we have the following type relation:
bool<int<real
Why is the function (real->bool) a subtype of (int->bool)? Shouldn't it be the other way around?
I would expe...
hi im new to c++ and i want to compile my testprogram .
i have now 3 files "main.cpp" "parse.cpp" "parse.h"
how can i compile it with one command ?
...
I know, I know - it probably doesn't (and shouldn't) matter - I've read this comment. But as a newbie just learning Python, I'm quite intrigued. The source seems to reference Javascript a few times - would the whole site be in this? Any idea about the rest of the technology stack behind the site?
Looking at the technology behind some ...
I love WPF, but I hate XAML.
XAML is too verbose, has syntax issues when Microsoft tried to extend it (see StringFormat on Bindings), and is difficult to navigate.
Are there any alternatives to XAML?
(These are just my opinions. Feel free to disagree.)
...