programming-languages

Has the use of C to implement other languages constrained their designs in any way?

It seems that most new programming languages that have appeared in the last 20 years have been written in C. This makes complete sense as C can be seen as a sort of portable assembly language. But what I'm curious about is whether this has constrained the design of the languages in any way. What prompted my question was thinking about ho...

Which language is easiest to learn?

This is a subjective question just to get a general impression. As Java is the most popular programming language right now it is used as a benchmark. Lets say I have to spend T amount of time/effort to learn/master Java. By what factor should I multiply T to get a time/effort needed to learn/master other language instead, say C, C++, C#...

Which Web Programming Language?

I must to choose programming language for developing a popular web site. This site will use by many user and users spend many time in this site Which Web Programming Language and framework(toolkit) must be choosen? ...

What are magic numbers?

What is meant by magic numbers from a programming point of view. ...

What does scoring an array of strings means?

What does scoring an array of strings means? Does it mean checking for repeat count of every element? ...

What is java more suited for than C# and vice versa?

I've been learning programming for some months now, mainly with java and C#. They seem so similar from my limited knowledge, so I'm trying to grasp an understanding of the practical differences. Could seasoned programmers please enlighten me as to which programming language is more suited for which kinds of jobs? In what situation wou...

Android LinearLayout / TableLayout with custom ListAdapter. Making List items of book previews.

Hi, I have used RelativeLayout for a custom implementation of a ListAdapter and I am not sure if I can continue using this or if I need to use TableLayout. In the first example I have the text positioned as I would like by using one image view and one text view containing the book name and the author name. However, I want to style the ...

Walter Bright's use of the word "redundancy"... or 'The heck does that mean?'

So I'm reading this interview with Walter Bright about the D language in Bitwise (http://www.bitwisemag.com/copy/programming/d/interview/d_programming_language.html), and I come across this really interesting quote about language parsing: From a theoretical perspective, however, being able to generate a good diagnostic requires that ...

What is the programme for Data Base Management System?

As above, for calculation, analysis and graph. The data is purely number. How do I create the database table and the calculation/analysis/graph table separately? For example, I might want to create a separate table of "countif" from the database and etc. Please suggest the name of the programme and their pro and cons as well. ...

Scheme or Common Lisp?

Hello! I am an intermediate programmer, and have decided to learn either common lisp or scheme. My question is simple, which one would you choose? I don't care much for the difficulty of the syntax, just the power, flexibility, and other aspects of the language itself. Also, which implementation of either common lisp or scheme should I c...

Is it possible to predict if a mathematical operation would result in an overflow?

Say you have 2 numbers, for each typical mathematical operation is it possible to predict (without significant overhead) whether those operations would result in an overflow of the type which those numbers are currently represented as? ...

Looking for a scripting language

I'm looking for an embedable scripting language that is - compiled statically typed garbage collected lightweight and fast cross platform Thanks. ...

For quick testing, portable Linux or portable programming language?

Hi all: My current role requires me to setup environment which mimics the customer's and perform various checks to replicate and then analyze the problem. Chances are, I often find working with Windows environments such like XP, Server 2003, Server 2008 is a bit painful without having the handly linux-based shell and some command-line ...

Why is smalltalk not a functional programming language?

With the renewed interest in functional programming languages, I've seen some similitudes between Smalltalk and FPL, namely closures ( BlockClosures in Smalltalk ) Yet, Smalltalk is not a FPL? What would be needed to consider it as such? ...

What advantages does Scala have over Java for concurrent programming?

How can scala make writing multi-threaded programs easier than in java? What can scala do (that java can't) to facilitate taking advantage of multiple processors? ...

Question About Programing language

Hi I have two questions : I want to know that learning which programing language is useful for working I mean most of the programs are written with which language ?C++ or java or ... Is there any site that ask me for writing a code in a special language and then after writing that code ,I show it to that site by posting it or ... and t...

File I/O in Every Programming Language

This has to be a common question that all programmers have from time to time. How do I read a line from a text file? Then the next question is always how do i write it back. Of course most of you use a high level framework in day to day programming (which are fine to use in answers) but sometimes it's nice to know how to do it at a low...

Where to find programmers/ web designers

Could anyone please put me in the right direction of where to find programmers/ web designers that would be able to design a forum from scratch? MAny thanks ...

how do you keep up with all the new frameworks in language X?

Frameworks come and go with all languages and as a developer I am having quite a time trying to: pick a good solid framework in a given language concerned the framework i learn will die and i will have to learn a new framework hate 1,2 because frameworks provide so much out of the box and i hate re-inventing the wheel Anyone have adv...

Is there a programming language where types can be parametrized by values?

Parametrized types such as C++ templates are a nice thing, but most of the time they can only be parametrized by other types. However there is a special case in C++ where it is possible to parametrize a template by an integer. For example, fixed-length arrays are a typical use case: template<typename T, int SIZE> class FixedArray { ...