DEV Community

Discussion on: Should programming languages be made for IDEs rather than humans?

Collapse
 
z16 profile image
Stjepan Bakrac

The main argument against designing a language for an IDE is that it ties it to the IDE. If you spot a simple typo on GitHub you can't change it (if you're even able to view it on GitHub). If you're on a new device you have a text editor, but you don't have an IDE. If you're on a phone you can't read it. You can't share code snippets with others unless they're on the same IDE.

While it's an interesting idea (although not an entirely new one), there are too many practical arguments stacked against it.

I think the more useful approach would be to let the IDE offer features to display the code better (such as a formula view for your above example, which could format it in a better legible way) which integrates into the editing process. One could argue that that's a large part of what IDEs are about.

Collapse
 
drbearhands profile image
DrBearhands

IDE features would definitely solve some of these problems, but I feel this would be more a case of treating a symptom than fixing the underlying problem.

You're absolutely right about practicality, but sometimes you have to take a step back to make a step forward.