Chapter 1 Introduction to Java


Proper Indentation and Spacing


Download 15.61 Kb.
bet6/6
Sana19.06.2023
Hajmi15.61 Kb.
#1601433
1   2   3   4   5   6
Bog'liq
01slide

Proper Indentation and Spacing

  • Indentation
    • Indent four spaces.
    • A consistent spacing style makes programs clear and easy to read, debug, and maintain.
  • Spacing
    • Use blank line to separate segments of the code.

Programming Errors

Getting Started with GUI Programming

  • GUI is a great pedagogical tool to motivate studetns and stimulate student interests in programming.

Getting Started with GUI Programming

  • Why GUI? Turtle Tkniter
  • A simple way to start graphics programming is to use Python built-in Turtle package.
  • Run
  • A Turtule Example

Getting Started with GUI Programming

  • Why GUI? Turtle Tkniter
  • Later in the book, we will also introduce Tkinter for developing comprehensive GUI applications.
  • Run
  • A Tkinter Example

Download 15.61 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling