programming-languages

How to implement code in a manner that lessens the possibility of complete re-works

I had a piece of work thrown out due to a single minor spec change that turned out not to have been spec'ed correctly. If it had been done right at the start of the project then most of that work would have never have been needed in the first place. What are some good tips/design principles that keep these things from happening? Or to...

Company standards: C#.NET vs VB.NET vs. whatever.NET

Just a question that came up from time to time at my old job when we were considering fleshing out our development staff with additional bodies. Does it really matter, if you are a .NET development house, if your developers all code in one language vs another. I probably started out like alot of the 4million other folks there with Visu...

Is it worth learning Java libraries if I'm not going to actually use Java?

So I've been programming in PHP and Python (and recently Ruby), and I was just wondering: should I just Java-based languages (or the Java implementations of languages) from now on, to take advantage of the immense collection of Java libraries? Would that really benefit me as much as I think it would, or am I crazy? For example, let's sa...

Which programming languages support states on the language-level?

UnrealScript has always impressed me, somewhat, with it its intrinsic support for states (and latent functions) by grouping/overloading functions and fields into blocks like: state() SomeState { ... function void Foo() { GotoState('SomeOtherState'); } ... } Which is quite a bit cleaner than using loads of s...

summer-holiday-programming-club - Which language suits best?

I am planning to host a "summer-holiday-programming-club" in my school. There I want to teach other students (age 12-17) something about programming and give them a little insight into stuff. Most of them won't have any experiences concerning programming since in our country computer classes are unfortunately very rare. Besides general ...

How unique is LINQ?

This is a question about LINQ the .NET language feature, not LINQ to SQL. I find that the ability to query almost any in memory collection in such a consistent and declarative way is one of the best language features I've ever come across. I find it extremely useful, and I love the clean abstraction it provides. LINQ can even be used t...

Is the return worth the investment in learning Fortran?

At my current place of employment there are a handful of maybe two to three employees that add and maintain functionality of legacy fortran77 code. When I was first hired I briefly considered trying to become fluent in the ancient language, soon after I changed my mind. This conclusion came from a combination of reasons; initially I ad...

Stay with C# ? Or Move to Python?

I have about 1 year professional experience with C# and ASP.NET and now I have a small web application idea I want to implement but I don't want to use ASP.NET to implement it due to hosting fees and other Microsoft corporate yada yada. I want to use python/django to implement this as it is cheaper to host and a good stack to develop o...

who is responsible for determining the size of the stack

Recently I made a program in c, which only purpose was to overflow the stack, using a recursive method. Apparently there is no portable way(like a try / catch block, at least in c), to avoid that the next call to a function causes a stack overflow. My question is, in your opinion, high-level languages should offer alternatives on resizin...

Programming languages project using Scheme

Im interested in doing a programming languages project using scheme. A couple that i have considered - A scheme extension interpreter in Scheme(metacircular) - The thing is that a lot of these already exist and its not too challenging. Implementing a Domain-specific language. This one is good, but I cant think of any domain which whi...

unique_ptr - major improvement?

In actual C++ standard creating collections satisfying following rules is hard if not impossible: exception safety, cheap internal operations (in actual STL containers: the operations are copies), automatic memory management. To satisfy (1) a collection can't store raw pointers. To satisfy (2) a collection must store raw pointers. To...

languages with functions that do not need parentheses?

IIRC, vb6 allowed function calls with no (). IIRC, it was allowed whenever the func didn't have a return value, and you could always use func(same, params, here). What other languages allow this? What do you think func with no parentheses should mean? What are the rules for them? Disclaimer: I am designing a language, so if you are a...

Is Lua development stagnated, or are there still new versions planned?

Hi there SO, I was looking into learning Lua because it has some interesting features (speed being one), and I noticed that there hasn't been a feature update since 2006. Has Lua development stopped? If it hasn't, where can I read about recent progress? Edit: All caps Lua is what happens when you post on SO at 3 AM. ...

JavaFX, Flex and not default languages.

Can I write programs in JavaFx or Flex with other languages (not ActionScript and JavaFX Script) like in Silverlight? ...

What is the worst programming language you ever worked with?

If you have an interesting story to share, please post an answer, but do not abuse this question for bashing a language. We are programmers, and our primary tool is the programming language we use. While there is a lot of discussion about the best one, I'd like to hear your stories about the worst programming languages you ...

What one feature would you cut from your favorite language?

It's easy to think of features to add to a language. What feature would you cut from a language, and why? Douglas Crockford says don't use JavaScript's "with" statement. What are the hazard areas in other computer languages? What features have you seen get in the way of software engineering? ...

How many programming languages do you use at one time?

During a normal work-day, tackling a variety of tasks, there's the potential for several programming languages to be used. There's application work, with C#, VB.NET, C++, Java, Fortran, then there's database work with involves SQL, and then there's maintenance work involving languages like Python, Perl, PHP, or even bash scripts and sim...

In what order we have to learn web languages?

Can anyone please tell me, in what order we've to learn languages? 1.(X)HTML 2.CSS 3.JS, HTML DOM, jQuery (client-side) 4.SQL 5.PHP MySQL, SQL, Ajax? ...

What programming language has this syntax?

I came across this statement as code, on a programming puzzle web site. (i. >./) (0 >. +)/@:|.\ a Wondering, what language has these type of syntax? ...

Platform Independent, Lightweight Programming Language

I need to write an extremely lightweight program (trying to get below 8Kb) that performs some simple math. The language also needs to be platform independent. Which language do you think would work the best? (Oh, and no frameworks allowed.) ...