programming-languages

C# without .NET Framework

Writing fast native applications, with API calls and etc, in a modern cross platform programming language like C# would be awesome, wouldn't it? For example if you want to write a simple utility for helping IT people with installing things, which wouldn't need another components, in an easy and modern programming language? or if you want...

OK to skip slash before query string?

Is it safe to always skip the trailing slash when appending a query string? http://example.com?querystring Instead of... http://example.com/?querystring All webhosts I've used support this but Is it safe to assume that all server environments will support this method, is it standard? ...

Which language is the following program written in?

http://www.geocities.com/CapeCanaveral/Hall/2027/alfabeto.txt part of it: procedure f /martina go 20 rt 90 go 10 lt 180 go 10 lt 90 go 10 lt 90 go 10 up go 5 rt 90 go 10 lt 180 down end ...

Choosing a syntax for list generating expressions

C# has generator functions which have syntax like: IEnumerable<int> GetNats(int max) { for (int i=0; i < max; ++i) yield return i; } A feature I am interested in for my programming language (a simple object-oriented programming similar to Java, Scala, ActionScript, and C#) are generator expressions. These are essentially syn...

What should happen when a generator function is assigned?

If I have a programming language with first class functions. What should the semantics be when a generator function is shared? For example: var f = function() { foreach (i in 0..42) yield i; } int a = f(); // 0 int b = f(); // 1 // Assigning the generator function var g = f; int c = g(); // ?? int d = f(); // ?? I can i...

Which programming language is manageable by an 11 year old kid?

Possible Duplicates: What is the easiest language to start with? What are some recommended programming resources for pre-teens? My son is 11 years old and he would like to learn a programming language. Of course his primary goal is to develop some (simple) games. Do you know of a programming language that is suitable for this...

Why no love for SQL?

I've heard a lot lately that SQL is a terrible language, and it seems that every framework under the sun comes pre-packaged with a database abstraction layer. In my experience though, SQL is often the much easier, more versatile, and more programmer-friendly way to manage data input and output. Every abstraction layer I've used seems...

Is it C# or C#.NET?

I always see people writing "C#" and "C#.NET". What is the correct name of this language? C# or C#.net? I'm sorry for this stupid question but it is really confusing (maybe there's another programming language named C#.net?)... EDIT: if I'm programming against the .NET Framework, why call this C#.NET? Can I use the C# language with othe...

What programming language will enable me to enter a very long number without converting it to floating point?

What would be the best way to do the following. Enter a very long number, lets say 500,000 digits long without it going into scientific notation; and then am able to do math with it, like +2 etc.? Thank you in advance. EDIT: It is a 500,000 digit, positive integer. ...

Learning programming language from a book

Hello. It's common to read a book to learn some programming language. But, I think we need to learn the skill of learning before doing so. What I'm talking about is that I need your help to make the learning process effective. To give an example, I'm reading chapter 12 in C++ Primer Plus. And I started to forget some details from the pre...

what fields are the c and c++ jobs in now days?

I been programming in c++ for over 10 years now, it is my favorite programming language. I'm just a bit concerned that it's popularity is fading away, atleast in windows application development, because of c# and the .net framework. I'm not against c# or .net, I've actually program in those, and I'll admit, some things in c# and .net a...

Compiled dynamic language

Greetings, I search for a programming language for which a compiler exists and that supports self modifying code. I’ve heared that Lisp supports these features, but I was wondering if there is a more C/C++/D-Like language with these features. To clarify what I mean: I want to be able to have in some way access to the programms code at...

Is there a programming language where the static data type is optional?

I'm thinking something where the following two are equivalent: int [] array = { 1,2,3,4 } foreach( int i in array ) { print i } array = { 1,2,3,4 } foreach( i in array ) { print i } ...

What exactly is the danger of using magic debug values (such as 0xDEADBEEF) as literals?

It goes without saying that using hard-coded, hex literal pointers is a disaster: int *i = 0xDEADBEEF; // god knows if that location is available However, what exactly is the danger in using hex literals as variable values? int i = 0xDEADBEEF; // what can go wrong? If these values are indeed "dangerous" due to their use in various ...

How do programming languages differ between different parts of the world?

I have always wondered how programming languages are different, if they are indeed different, to other parts of the world? How do people in parts of Asia/Europe/South America use programming? Whats the syntax like? Any examples? ...

Mathematical Programming Languages

Given my previous questions about the the usage of AMPL. Are there any other programming/scripting languages that are strictly meant for mathmatical processing? For example: Matlab (it does deviate a bit from a mathematical structure, but its close enough), Mathmatica, and AMPL ...

why does size of any data type depend on the machine?

we know it depends on machine or compiler..but why and how? ...

List of Top Repositories by Programming Language

One of the main reasons I like Perl is CPAN (Comprehensive Perl Archive Network) and the ease of finding, installing, and testing of packages it provides that solve a problem I was already trying to solve. I would like to know of any similar repositories for PHP, Python, Ruby, Java, C++, Javascript, etc..., or better, a comprehensive li...

In Which Languages Can I Develop For Windows Mobile?

Hello, Today my new HP iPAQ was delivered at my home, but now I want to know two things before I start any project: In which languages can I develop for it(Windows Mobile 5)? Where can I download this softwares? Thanks. ...

Determine source language from a binary?

I responded to another question about developing for the iPhone in non-Objective-C languages, and I made the assertion that using, say, C# to write for the iPhone would strike an Apple reviewer wrong. I was speaking largely about UI elements differing between the ObjC and C# libraries in question, but a commenter made an interesting poin...