programming-languages

In which language did attributes first appear

It seems that almost all features in C# were borrowed from another languages (OOP from Java, generics (parametric polymorphism) and lambdas from ML family, LINQ from Haskell's monads and dynamic from dynamic languages), but I don't know the origin of attributes(annotations in Java world). Is C# the first language that introduced attribut...

expanding shop and need advice from medium-sized development firms

I have been a basic 5-person basic php/html/css shop for quite a while and recently we have been working on larger and more intensive projects requiring multiple coders on a single project and MUCH larger applications vs. simple "websites". So we are looking at using SVN or something to avoid the constant "he didn't donwload the main co...

Processing ControlP5 Library setText() problem (ArrayIndexOutOfBoundsException)

hi i m the Processing user.. Currently i used the ControlP5 library for my graphical user interface.Here is the code i use public void controlEvent( ControlEvent theEvent ) { if( theEvent.isGroup() ) { eventValue = int(theEvent.group().value() ); println("eventValue before display "+eventValue); } textArea_3 = controlP5.addTextarea ("T...

Why is there no "compound method call statement", i.e. ".="?

Lots of programming languages already have the compound statements +=, -=, /=, etc. A relatively new style of programming is to "chain" method calls onto each other, e.g. in Linq, JQuery and Django's ORM. I sometimes, more often than I'd like, find the need to do this in Django: # Get all items whose description beginning with A items ...

Which is the best strategy to learn a framework?

Since while time advances new frameworks appear, to be a good developer we have to learn about those new technologies. Supposing that you are compelled to learn a new framework (and you had developed on other frameworks or specific languages), how do you organize yourself and structure your time and learning activities? do you create yo...

Is there any programming language that lets you redefine its type system?

Hi, I'm looking for programming languages that let you redefine their type system without having to hack into the compiler. Is there anything out there that allows you to do that? Thanks ...

Read a long string into memory

Hi, I am having a very large string, and when I read it in Java, I am getting out of memory error. Actually, I need to read all this string into memory and then split into individual strings and sort them based on value. What is the best way do this? Thanks ...

building a web plugins platform for video

I am thinking of ways by which people may interact with video and probably publish them. So, I have a service in mind that people can use to upload the video to one place and then just write plugins which tells my webservice what to do with these videos. my current plans are like if someone uploads a video to my service and then edits it...

user defined data type/operations to CPU instruction set

Hi, In any programming environment,what ever the data type I am going to choose finally the CPU will do only the Arithmetic operations(addition/logical operations). How this transition(from user defined data type/operations to CPU instruction set) happens and what is the role of compiler,interpreter,assembler and linker in this life cy...

Learn the programming basics

A young relative of mine has decided that she will study for software developers. But she has absolutely no programming experience. I would like to help her with the basics before she starts with the school so that she gets a head start. I need tips on Internet sites where she can learn the basics. What language do you think that she s...

High quality spiral experience know-how learning site like khan academy about development? (in English)

I feel, that part of the question got lost in translation, so here is my longer description of my programming related question: Name one or many (website or blog or vlog or wiki or tweet account or database or ebook or forum or entity of stack exchange or feed or message board) that fill criterion's and at least 1 aspect as described be...

Meaning of trackbar

the function cvCreateTrackbar create the trackbar(slider) with the specified name and range,,, my question, what is the trackbar?? ...

Advantages of subtyping over typeclasses

What are the advantages of OOP subtyping over typeclasses, if any? In other words, now that we have typeclasses, is there any reason to still use OOP subtyping? PS: I am a Scala programmer. ...

Maths in Programming - The Developer's guide

Possible Duplicate: Useful math for programmers I'm a 22 year old ASP.NET/C#/Front-End developer with roughly 5.5 years experience. Unlike some (well probably most) of you, I didn't go to University to do a CS degree (*sigh*). The reasons behind that are, well... complicated, so I ended up teaching myself by reading books, artic...

Open Source Programming Language online interpreter

How can I integrate programming language interpreter / compiler into a website like Codepad.org or Ideone.com? Is there any opensource solution? How do they ensure that the users do not write destructive code? I know that Ideone has an API, but I am more interested in a self hosted solution. ...

Programming language categories

What programming language categories are there? I know about object-oriented languages, functional languages, procedural languages.... what other 'paradigms' are there? What are the best languages in each class? In what situations would you choose one type of language over another? Are there any really obscure language types that may n...

Are there any good videos to learn programming basics which are required to learn javascript?

Are there any good video to learn programming basics which are required to learn JavaScript, then jQuery later. for the person who is already having good command over xhtml and css ? future aim is not to learn any server-side language, php, asp.net, ruby ,etc. just pure and advanced javascript/jQuery. Video for absolute programming begi...

Convert code to function

Hello everyone i need to convert this code to a function with 2 parameters in this case the first parameter is News and the second one aif can u do this ?? -(IBAction)news { CFURLRef soundFileURLRef; SystemSoundID soundFileObject; CFBundleRef mainBundle; mainBundle = CFBundleGetMainBundle (); // Get the URL to the sound file t...

Why is Javascript the "most misunderstood language" ?

Douglas Crockford himself says so ! http://www.crockford.com/javascript/javascript.html I have been working with JS only for the past few months, with jQuery and ExtJS. Soon will get to work on Secha Touch. I find Javascript to be highly enlightening.. What is your opinion ? Crockford himself says that the language is not without its...

How can I programmatic control my mobile phone?

Hi, I am planing to create a program that will do folowings check validity of SIM card Check current balance in the SIM card Recharge SIM card using some top up cards. SIM card can be in mobile phone(Say it Nokia), May be in a Modem(Siemens and Wavecomm) Please suggest some options, How can i do that. Regards, Vijay Shanker ...