programming-languages

how do they used to enter machine code directly in olden days?

I read in this article 1GL: First Generation Programming Language that people used to enter machine instructions directly. I want to see some pictures of their keyboard & monitor. Did they directly enter these instructions into memory? of they were directly send to CPU? at what frequency it used to operate? I want to read more about th...

Languages specifically designed to make static verification easier

A lot of languages (perhaps all of them) are designed to make writing programs easier. They all have different domains, and aim to simplify developing programs in these domains (C makes developing low-level programs easier, Java makes developing complex business logic easier, et al.). Perhaps other purposes are sacrificed in sake of writ...

C# versus Java?

So I'm a decent C# programmer and I love this language but ever since my only PC died on me all I have left is my Mac Book Pro and my dads PC which he uses for work. He allows me use it but since he needs it for work the times I can works on my projects are significantly cut down. So im considering learning Java since its almost the sa...

languages for small development teams

What languages are best suited to small, 1-3 person software development teams? Obviously, something like Java is more aimed at enterprise; what's the best fit for small teams? Nothing too dynamicky/slow (e.g., PHP). EDIT: Okay, so maybe this wasn't the smartest question ever. But just answering with "it doesn't really make a differenc...

Open File With Python

I am writing a tkinter program that is kind of a program that is like a portfolio and opens up other programs also writen in python. So for example i have FILE_1 and FILE_2 and i want to write a program that onced clicked on a certain button opens either FILE_1 or FILE_2. i dont need help with the look like with buttons just how to wir...

appropriate start on a Dentist Application

I have been planning to build a Dentist Application for the use of the Dentist to add patients(with medical profiles...), organize visits, manage balance/fees....etc I know Java, .NET( C#) (some windows forms), and Python. Do you have any suggestions with the language I should maybe start with and the framework and IDE that will make my...

What does "monolithic" mean?

I've seen it in the context of classes. I suspect it means that the class could use being broken down into logical subunits, but I can't find a good definition. Could you give some examples? Thanks for the help. Edit: I love the smart replies, but I'm obviously referring to "monolithic" within a software context. I know about monoliths...

Regular expression to find and replace unescaped Non-successive double quotes in CSV file.

This is an extension to a related question answered Here I have a weekly csv file which needs to be parsed. it looks like this. "asdf","asdf","asdf","asdf" But sometimes there are text fields which contain an extra unescaped double quote string like this "asdf","as "something" df","asdf","asdf" From the other posts on here, I was a...

Operator overloading

From language design point of view , What type of practice is supporting operator overloading? What are the pros & cons (if any) ? ...

What garbage collected language would be recommended to use when creating a FUSE implementation

I would like to implement a virtual filesystem using FUSE under Linux and Mac OS X. I have mainly worked in Java and .NET/C#, but also familiar with Python and do write small utilities/shell scripts in Python. Writing is C/C++ is something that I would try to avoid if possible mainly because of lack of experience in the team. I see from...

Is there a document markup language that can "do it all"?

I work on a lot of language-based projects, and the larger ones require semi-formal specification documents. In the past, I've used OpenOffice.org or just plain HTML for these documents, and manually converted them to whatever other formats were needed. For my current project, however, I need to generate output in several formats (HTML, ...

Is there a useful scripting language to refactor code?

I've looked at JunGL, and it looks far too complicated for real use and is overly general. A tool like this would be useful for providing an alternative version of a language port, which would utilize more advanced language features/conventions. ...

Using break statement even though previous line results in exit

Hi! I was reading through some code (C, if it makes a difference to anyone) today and got curious about a switch-block. switch (c_type) { case -1: some_function(some_var); break; [...] default: abort(); } Now, this is a perfectly simple switch-block. It's the some_function(some_var)-call I'm curious about: If you, the pro...

Compiled interpreted language

Is there a programming language, having usable interactive interpreter, even as it can be compiled to machine code? ...

Algorithms/problems to solve while learning a new language

At some point in our lives we're put in the situation to learn a new language (either by job requirements or just passion). Personally, I'm trying to learn Objective-C coming from a background of several years coding php. My problem is that I'm bored with your average starting programs (most of them coming from maths; eg: Fibonacci). Wh...

Scripting Languages

I am looking for a good scripting language to link to my program. I am looking for 2 important attributes: Scripting language should be hard linked into the executable (not requiring 3rd party installations). This is important to me to simplify distribution. Scripting should allow some run-time debugging option (When running a script ...

Suggestions to learn any programming language after Matlab

I've taken a course in C++ in my freshman year in undergrad. However once it was over I never employed it in any project or use. I am familiar with some average topics in C++ prior to where 'link list' starts. Once I got the opportunity to do my first project after Sophomore year, I was suggested by my prof. to learn Matlab which is wide...

Programming in chemistry

I'm a chemistry major with limited experience in programming. I've done a few things mostly in VB.Net in the past but I'm interested in learning a new language. I've started learning C++ but I was wondering if it's a good choice in my field. I can imagine that some programming experience would be useful in almost any field but I don't ...

As an EE/CE, what languages/concepts should I become more familiar with before graduating?

I am currently entering my senior year as a dual major in Electrical Engineering and Computer Engineering, and have touched on a wide variety of different languages: C, C++, C#/XAML, Java, bash, python, VHDL, assembly, etc. I was wondering what you think would be a good language/few languages to become more proficient in, or to explore f...

How does the decimal accuracy of Python compare to that of C?

I was looking at the Golden Ratio formula for finding the nth Fibonacci number, and it made me curious. I know Python handles arbitrarily large integers, but what sort of precision do you get with decimals? Is it just straight on top of a C double or something, or does it use a a more accurate modified implementation too? (Obviously not...