4 ms·
Most object-oriented languages are also procedural, so that isn't a dichotomy. Procedural vs. functional and imperative vs. declarative are more interesting di
by kyllo 12y ago
Most object-oriented languages are also procedural, so that isn't a dichotomy.
Procedural vs. functional and imperative vs. declarative are more interesting dichotomies to focus on. If you are designing a new language, especially one for a particular problem domain, it generally makes sense to make the language fairly high-level and declarative. SQL is the classic example of a declarative domain specific language, you use the language to specify what data to retrieve, and behind the scenes the database engine figures out how to retrieve it.
Anyway, what is your purpose or goal in creating a programming language? Are you trying to create a general purpose language that can substitute for Python/Ruby/Perl? Or are you trying to solve any specific problem with it?