When does a language die?
As the title says, When Does a Language Die. When all Authors of the language die etc?. ...
As the title says, When Does a Language Die. When all Authors of the language die etc?. ...
This may sound really stupid. but I've got a strange problem with the D programming language. When I try to create a new array like this: import std.stdio; void main() { char[] variable = "value"; writefln(variable); } The DMD compiler always gives me this error: test.d(5): Error: cannot implicitly convert expression ("...
Hey, I'm searching for a D IRC library. Yes I know there is dirclib, but this one unfortunately doesn't seem to be compatible with version 1 or 2 of the language (anymore). When I try to use it with the 2.014 alpha for Ubuntu it throws several errors. Do you've got any ideas/advises? ...
What is a good language to learn/start with? I've mostly been a network guy up to this point, took a qbasic class in college. However I want to start programming. I want to be able to write my own security tools oneday. Some people say go with perl, others say C. Which should I do? What is the best to learn for my goal(s)? ...
What's the reason of providing some of the default methods in the global scope, like the len function, instead of providing them on an instance level, like: list.len() instead of: len (list) I find methods like len to be harder to discover than instance methods. Is there any reason behind this? ...
I found this question on SO, and then went to look at my university, and found the average number of languages that software engineering students speak is two to three. I know this is not directly related to programming, but with the amount of companies employing persons from different countries (especially here in Europe, I don't know ...
There are a lot of discussions all over the internet and on SO, i.e. here and here, about static vs dynamic languages. I'm not going to ask again about one vs another. Instead, my question is for those who moved (or at least tried to move) from static typed language to dynamic. I'm not talking about moderate usage of JS on your web pag...
I've been mulling about a post by Misko Hevery that static methods in Java are a death to testability. I don't want to discuss the testability issue but more on the concept of static methods. Why do people hate it so much? It's true that we don't have closures (but we have a slightly awkward anonymous functions), lambdas & functions as ...
I want to have my ASP C# application to be multi-language. I was planned to do this with a XML file. The thing is, i don't have any experience with this. I mean how, do i start? Is it a good idea to store the languages in an xml file? And how in the code do i set the values for ie my menu buttons? I'd like to work with XML because i neve...
I'm talking about a forum/message board where people just talk about the Ruby language - quite aside from its use in terms of Ruby-on-Rails. It seems most languages have favorite forums outside of Stackoverflow - just wondering what that would be for Ruby. I've had a look on Google but what comes up seems to be mostly personal blogs ab...
I was looking at the online help for the Infragistics control library today and saw some VB code that used the With keyword to set multiple properties on a tab control. It's been nearly 10 years since I've done any VB programming, and I had all but forgotten that this keyword even existed. Since I'm still relatively new to C#, I quickl...
I'm looking for something that may or may not exist. Is there such a thing as an 'English grammar rules engine' available on the Windows platform (specifically for something like .NET or C#)? Specifically, I'm looking for something that would be able to take a sentence in the 'future tense' and change it to the 'past tense' (based on E...
What programming language do you prefer for code examples? I want to provide clarity to the most people possible when asking a question (while only using one language). While a specific language may provide clarity (for people who know it), it may not be clear to the largest audience. Edit: Another consideration, does syntax highlight...
How can I check the language of user's browser by PHP? I need to show a different page for people in US and in UK. I tried the following code unsuccessfully <?php if(ereg("us", $_SERVER["HTTP_ACCEPT_LANGUAGE"])) include('http://page.com/us.txt'); else include('http://page.com/uk.txt'); ?> I run a specific code for people in US...
We are localizing a cross-platform C++-based client-side application. The first localization pass was done in a big rush for a big partner on a short deadline, and now it's time to refactor it. We currently have an XML strings file per locale, with a common key and a localized value for each resource. However, sending our not-necessar...
This is prompted by a an answer I gave to a current question which asks about a generics library for C - the questioner specifically states that they do not want to use C++. My question to him and others who insist on using C is why do they do so when: C++ provides the specific features they are asking about Their C compiler is almost ...
Whenever I need information on a programming topic I tend to search Google directly in English. I don't even bother trying to search in Spanish which is my mother tongue, I know that probably I won't find anything interesting. Do you ever try to search for programming help in your mother tongue? Do you always find your responses in tha...
I'm trying to display Japanese characters on a PHP page. No loading from the database, just stored in a language file and echo'ed out. I'm running into a weird scenario. I have the page properly setup with UTF-8 and I test a sample page on my local WAMP server and it works. The moment I tested it out our development and production ...
I am seeing if it's worthwhile creating a reference showing how to do common things in multiple programming languages. Please list below the command that you would use to achieve the following in your chosen programming language: String Replacement examples: PHP: mixed str_replace ( mixed $search , mixed $replace , mixed $subject [,...
I have been reading about the need to learn multiple programming languages and have become quite convinced that it is important to understand multiple languages. Once a developer becomes familiar with one language, it is easier to learn another language by mapping common concepts and differences. I have tried to list some generic quest...