Hi,
I am just wondering whether it is possible to have something like that, I mean to initialize object that I want to pass as an argument without writing it on special line:
String a="test";
a.TrimStart(new char [] X=['a'])
...
I have heard a lot that PHP is slow compared other languages. Is the speed difference noticeable enough that I should switch to another language? And if so what other language would you recommend? Or what would be some good optimizations that could speed up the PHP?
...
I am a university student who is going to be taking a programming language course in the upcoming semester. One of the course requirements is to specialize (for the course) in a language in which you have no prior experience and is not covered in the course. I've begun looking through lists of languages, but I would like to get some feed...
I'm planning a web application that requires a lot of XML processing: generate XML documents, validate against schemas, generate views from XSLT...
For diferent reasons I've ruled out .NET and J2EE. Also, when I say 'best suited' I'm thinking of syntactic simplicity rather than performance.
Any advantages in using PHP, Python, Ruby on Ra...
Hi All,
I realize that it can depend on certain things (and obviously how efficient the code is written); but, in general, what is the most efficient language to use in writing cron jobs? Does this simply come down to a question of what is the most efficient language period, or can the specificity of cron jobs determine one programming ...
The amount of available programming languages is both a bless and a curse, I think.
I know a lot of programming languages already, some at syntax-level only and some good enough to do actual coding (Python, C, C++, Haskell, Perl, BASH, PHP, and lots of others). I have been programming for almost as long as I've been intensivly using comp...
Are there modern (later than 1990) implementations of russian "Rapira" programming language?
Wikipedia mentioned none.
...
I've seen like dozen or so questions on how to start programming etc etc. but I believe my question is slightly different and I'll make it a CW so its not a reputation catcher or anything I'm just trying to help a guy.
I have a cousin who got laid off from his job like most people as redundant. He was an IT guy, dude who fixes computer,...
Possible Duplicate:
How to get kids into programming
I know, it's impossible. However, if little one should go and follow daddy's steps, he should begin early. I started with some Z80 based comp made in Yugoslavia, and were 10 years old...
Then there was no 'net, no flash, no anything. Only tapes, screwdriver and hoping th...
I have a website that allows users with accounts. Account profiles are displayed on the front end of a website. Users can login and update their data, but it all must be approved by an admin (on a form) before the front end content reflects their update. The "live" data is stored across multiple tables in a Postgresql DB.
I'm looking...
The C# language specification defines the empty-statement grammar production, which allows me to do something like this:
static void Main(string[] args)
{
; ; ;
}
Why would Microsoft include this grammar production in the C# language? Does it have a useful purpose?
...
What book(s) will you recommend if the goal was to learn
Different language paradigms (OO, functional, ..)
Different concepts (dynamic/static typed, immutability, ..)
In short, i'm looking for a book which describe and compares different language paradigms and concepts possibly with examples for real languages like Java, Lisp, Erlang...
HI, I have a simple question, I've asked 3-4 different people and have had different answers from each of them.
Which code layout is better and used more?
does it really matter as long as it's consistent?
Which is seen as better practice in the world of working as a programmer?
Eg
A)
for(int i=0;i<8;i++)
{
for(int p=0;p<8;p++)...
Hello everyone.
I want to store the array returned by a method into another array. How can I do this?
public int[] method()
{
int z[] = {1,2,3,5};
return z;
}
When I call this method, how I can store the array returned (z) into another array.
...
Hello all
I have been given a strange requirement(challenging for me atleast) to write a logic in an application. I've to write a business logic wherein it should perform the following functionality
Total current consumption = current from A elements + current from B elements.
A and B are different types of devices
Now lets say the b...
A couple of years ago I started writing an interpreter for a little Domain Specific Language which included programmer-defined functions.
At first I implemented variable scope using a simple stack of symbol-tables. But now I want to move to proper lexical scoping (with the option of closures). Can anyone explain or point me at a good e...
Well I found a nice tutorial about how to program applications using Bonjour. It's cool. But the only problem, I do not understand which language they teach. I am not even sure that it is a programming language? May be they write about commands that should be typed in a command line? Or may be these are commands which should be executed ...
This google trends graph is neccessary for my question:
http://www.google.com/trends?q=...
I think you can try this with every programming language (maybe something like ruby will be a bit misleading because you will actually get stats for the gem)
Why is the buzz around like all programming languages decreasing (at least counted in g...
What do you call a programming language that can execute its own code (passed as a string literal)? The setting in my mind is something similar to this (forgetting for a moment typing of code, results, etc):
string eight = "5+3"
int result = run(eight)
Where run is keyword. Is that a reflective programming language?
...
I know the .NET framework and WPF pretty well, but I think the whole thing has gotten too blown up, especially for small apps as the whole .NET framework 3.5 weighs 197 MB by now.
I am looking for a language/framework/library that provides functionality similar to that of WPF (animations, gradients, a.s.o.) and the .NET framework (of c...