Skip main navigation

New offer! Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Recap and references

A brief overview of the material covered during this week, some references to additional information, and some Fortran-related humor.
You have reached the end of week 3. During this week, you learned about a few topics that are required to do object-oriented programming in Fortran. You learned about

  • user-defined types that allow you to build your own custom data types,
  • modules that help you structure your code into units that facilitate code reuse and allow to restrict access to their content,
  • interfaces that serve as types for procedures so they can be passed safely to other procedures as arguments,
  • type-bound procedures, Fortran’s way of defining object methods, and
  • inheritance, the mechanism to derive a new class from an existing one.

References

The books that were mentioned previously contain a lot of information and examples on the material covered in this week, so you should certainly check those. In addition, there is some material specific to this week’s content.

Articles

  • Emulating multiple inheritance in Fortran 2003/2008, Karla Morris, Scientific programming, vol. 2015, article ID 126069, 2015

Humor

This article is from the free online

Fortran for Scientific Computing

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now