第7章高水準プログラミング言語

credit: modification of “Computer science and engineering” by “BVECJordan”/Wikimedia Commons, CC0 · CC0 · Source出典
Figure 7.1 High-level languages make it easier for programmers to solve problems and design software at a level above the computer’s architecture. (credit: modification of “Computer science and engineering” by “BVECJordan”/Wikimedia Commons, CC0)
図7.1 高水準言語は、コンピューターのアーキテクチャーより上の水準で、プログラマーが問題を解決し、ソフトウェアを設計することを容易にする。(出典:「BVECJordan」による「Computer science and engineering」/Wikimedia Commons、CC0を改変)
Introductionはじめに
Programming is the science behind writing programs, which makes it possible to implement algorithms that leverage mathematical and/or scientific knowledge. Programming is also an art that requires creativity and employs imagination. High-level languages (HLLs) give programmers the ability to produce linguistic realizations of algorithms using a notational system that facilitates human-computer interaction.
英語のヒント
プログラミングは、プログラムを書くことを支える科学であり、数学や科学の知識を活用するアルゴリズムの実装を可能にする。プログラミングはまた、創造性を必要とし、想像力を使う芸術でもある。高水準言語(HLL)は、人間とコンピューターのやり取りを容易にする記法を用いて、プログラマーがアルゴリズムを言語として実現できるようにする。
TechWorks is an example of a company focused on new technology; for it to leverage technology and fulfill its stated mission, it regularly makes decisions on which HLLs to use, what exactly to use them for, and many other HLL suitability factors such as the following:
英語のヒント
TechWorksは、新しい技術に重点を置く企業の一例である。技術を活用して掲げた使命を果たすため、どのHLLを使うか、それを具体的に何に使うか、さらに次のようなHLLの適性に関する多くの要因について、日常的に判断している。
• Types of application
• アプリケーションの種類
• Target platforms
• 対象プラットフォーム
• Maintainability
• 保守性
• Scalability
• 拡張性
• Performance
• 性能
• Security
• セキュリティー
TechWorks will need to choose from a pool of programming languages that excel in different areas. For example, JavaScript is a versatile language that applies to the interactive elements that users will see and interact with when using TechWorks’s web interfaces. JavaScript is a natural choice for this task due to its ability to create dynamic and engaging user experiences. For server-side operations, the choice of programming languages must strike a balance between latest technology needs and experienced programmers’ preferences. JavaScript with frameworks like Node offers a cutting-edge approach, while established languages like PHP or ASP.NET boast a larger pool of seasoned programmers. TechWorks will need to use the Structured Query Language (SQL) to communicate with database systems used to support its applications. Python is a powerful tool language for data analysis and manipulation. Its extensive libraries and clear syntax make it well-suited to extract insights from TechWorks’s collected data. In a nutshell, TechWorks will need to strategically combine the use of various programming languages to create robust and user-friendly applications.
英語のヒント
TechWorksは、それぞれ異なる分野に強いプログラミング言語の中から、使うものを選ぶ必要がある。たとえばJavaScriptは多用途の言語であり、TechWorksのウェブインターフェースを使うとき、利用者が目にして操作する対話的な要素に適している。動的で魅力ある利用体験を作れるため、この仕事には自然な選択である。サーバー側の操作では、最新技術の要求と、熟練したプログラマーの好みの間で、言語選択のバランスを取らなければならない。Nodeのようなフレームワークと組み合わせたJavaScriptは、最先端の方法を提供する。一方、PHPやASP.NETのような定着した言語には、経験豊かなプログラマーが、より多くいるという強みがある。TechWorksは、アプリケーションを支えるデータベースシステムと通信するため、構造化問い合わせ言語(SQL)を使う必要がある。Pythonは、データの分析と操作に強力な道具となる言語である。豊富なライブラリーと明快な構文によって、TechWorksが集めたデータから知見を取り出すのに適している。要するにTechWorksは、頑健で使いやすいアプリケーションを作るため、さまざまなプログラミング言語を戦略的に組み合わせる必要がある。