programming-languages

Array or Database Table?

I could really use some good feedback on best practices / insight on whether it is better to put things in the database, or build an array. Take for example you have the suits of cards: $suits = array('clubs', 'spades', 'hearts', 'diamonds'); The array could change in the future, but not very frequently if at all. Now these suits are ...

Are there any non-esoteric programming languages that use image files as program source?

I've seen Piet and perhaps some other esoteric programming languages that accept images as input. Is there any such language that's intended for real use? Other than the fact that it seems horrifically unreasonable to actually program this way, there is a certain allure to the idea that, as textual program source can be created in any ol...

Best c# book for beginning to intermediate

I have taken a c# class, a VB class, and 2 java classes in college. I write TSQL and SQL daily at work and want to move more into the c# developer role. My major in college was MIS so I have knowledge of classes, database schemas, application design concepts etc. I am wondering what the best book would be for me. I am looking at doing ...

C program to merge files not finding EOF, stuck in infinite loop!

I'm having some problems trying to run this program I am working on...The requirements say I was not allowed to use a sort function...I had do something myself....etc. Pretty much, the program compiles but hangs after executed...I'm guessing it's stuck in an infinite loop...but I can't seem to find it... :( This program reads to data f...

What are the important features of C#

So, I am a C/C++ programmer currently in development of a small win32 project. I was told that C++ was becoming outdated, to be replaced with C#. This was over two years ago. So in your opinion, is C# a significant step up from C++, and does it provide more features/ease of use/ect.. that would make it worthwhile to learn. How much of ...

Does Open Source World Need A New Programming Language?

Lets look around for famous programming languages and their runtime environments and frameworks... C, C++ are hard and complex for a small and simple application. Java is going to be a commercial stuff for Oracle. PHP is good but only about web. C#, VB.NET and commonly .NET Framework is Microsoft product. Mono project? A few people tru...

Suggest Language for my project

Hi, I am working on a project for which we have to decide for a language to work on. Requirements are as follows: Client should work both as web browser based and standalone desktop application.Both will have same feature. Gui should be rich in graphics but still light weighted.It should not use much memory for rendering views. Clie...

Types of Errors during Compilation and at Runtime

I have this question in a homework assignment for my Computer Languages class. I'm trying to figure out what each one means, but I'm getting stuck. Errors in a computer program can be classified according to when they are detected and, if they are detected at compile time, what part of the compiler detects them. Using your ...

a better programming language

Think of any modern programming language! What do you think should be changed, what features are missing? Are there feature, which are too complicated or simply unuseful? ...

PHP, C++, etc. syntax explanation

Why is it that in most programming languages it is required to have a semicolon after statements but not after things like if elseif and else. Do the compilers all look out for newlines? If that's true then why wouldn't they do that for all statements? Am I missing something? It really doesn't make sense to me... ...

Which programming language for a calendar software?

I'd like to learn a new programming language and while learning it, I want to write a replacement for Microsoft Works Calendar. That is, a fairly simple calendar software which supports reminders and has a specific reminder process which will display the reminders even if the calendar itself is not running. I would like to hear your sugg...

Beginner C programming help

Ok, to start off, I am taking a C programming class this semester, and somehow was allowed to register even though I have not taken the prerequisite course. I thought I would still be able to handle it, but now that I have passed the point of no return for dropping it, I have found myself completely lost. For my present assignment I am...

what language should i learn for the future

what language is really gonna be used in the future? ...

Creating Android apps without Java

I'd like to start creating Android apps but I don't like Java. I read that scala can be used to do it. Are there another option?(Clojure?) I'm a Python/Django developer so it would be great to learn a pretty different language. ...

Serializable objects Vs Non Serializable objects

Hi Everyone, what is the differnce Serializable objects vs non serialivable objects, And what makes an object serialiable? And What does serializable objects have to do with xml? Thanks ...

What programming language does facebook use?

I don't know much about programming languages, but am interested in a career with facebook, so I was wondering if someone could tell me what programming language facebook uses. Also, do any other social networking sites use the same language? ...

Creating programming languages and compiler designing. Are they related?

Alright, I guess this question has been asked a lot of times here. I want to create a programming language, not necessarily starting today, but over a span of 2-3 yrs. I'm not a very good programmer, but I'm improving. What I wanted to ask is how closely creating a language and writing a compiler related? Since, a compiler translates a...

In what languages, associative arrays are implemented using redblack tree instead of hashtable?

In wikipedia: http://en.wikipedia.org/wiki/Red-black_tree#Applications_and_related_data_structures red-black tree is a type of self-balancing binary search tree, a data structure used in computing science, typically used to implement associative arrays. Anyone know a language implemented associative array using redblack tre...

mean absolute difference method for video stabilisation project in C++/CLI

Hello, I try to implement video stabilization project in C++/cli.First of all I have bmp image sequences,and I found motion vectors that show how much specific pixel region move between each image frame . For example I have 256*256 image, I selected 200*200 region in first image frame and secong image frame.And I found how much pixel m...

Most memorable programming videos/podcasts

As a programmer, which videos, podcasts, presentatations do you think are a must watch? I was watching Doug Crockford's lectures on Javascript and wanted to know what else have I missed!!! List out only the very best that you remember (Don't mention incidents, like launch of Windows or Macs just because they're videos. I'm looking for c...