Nested languages code smell

Posted by l0b0 on Programmers See other posts from Programmers or by l0b0
Published on 2011-06-28T15:16:26Z Indexed on 2011/06/28 16:30 UTC
Read the original article Hit count: 325

Many projects combine languages, for example on the web with the ubiquitous SQL + server-side language + markup du jour + JavaScript + CSS mix (often in a single function). Bash and other shell code is mixed with Perl and Python on the server side, evaled and sometimes even passed through sed before execution. Many languages support runtime execution of arbitrary code strings, and in some it seems to be fairly common practice. In addition to advice about security and separation of concerns,

  1. what other issues are there with this type of programming,
  2. what can be done to minimize it, and
  3. is it ever defensible (except in the "PHB on the shoulder" situation)?

© Programmers or respective owner

Related posts about programming-languages

Related posts about code-smell