Relative Content

Tag Archive for language-design

Simplifying C++11 optimal parameter passing when a copy is needed

It seems to me that in C++11 lots of attention was made to simplify returning values from functions and methods, i.e.: with move semantics it’s possible to simply return heavy-to-copy but cheap-to-move values (while in C++98/03 the general guideline was to use output parameters via non-const references or pointers), e.g.:

Why Does F# Contain Both Modules and Namespaces?

I’ve been assuming that F# includes the module keyword in addition to the namespace keyword due to backwards compatibility with OCaml. Is this the only reason for the inclusion of the module keyword or are there other reasons module was included?

Programming language features that help to catch bugs early [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]

KISS principle applied to programming language design?

KISS (“keep it simple, stupid” or “keep it simple stupid”, see e.g. here) is an important principle in software development, even though it apparently originated in engineering. Citing from the wikipedia article: