|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/coding-for-beginners-using-ruby-programming-language/
课程评论:没有评论
Coursera 上的“编程入门:使用 Ruby 编程语言”课程概览 本课程旨在教授您 Ruby 编程语言的基础知识。Ruby 是一种解释型、高级、通用的编程语言,支持多种编程范式,并强调编程的效率和简洁性。 **核心概念:** * **面向对象:** 在 Ruby 中,一切皆对象,包括基本数据类型。 * **脚本语言:** Ruby 作为脚本语言,通过解释器解析执行,而非直接与硬件交互。 * **编程范式:** 课程将介绍程序化(从上至下阅读)和面向对象(代码块组织成可复用的对象)的编程方式。 * **语言特性:** Ruby 具有动态、开源、语法优雅、易于阅读和编写的特点。其灵活性允许用户随意修改或扩展语言的组成部分。 **课程涵盖主题:** * Ruby Gems * 安装 Ruby * Ruby 交互 * 数组 (Arrays) * 变量和变量作用域 (Variables and Variable scope) * 字符串 (Strings) * Ruby 符号 (Ruby Symbols) * Ruby 常量 (Ruby Constants) * 逻辑运算符 (Logical Operators) * 比较运算符 (Comparison Operators) * 算术运算符 (Arithmetic Operators) * 范围 (Ranges)
Ruby is an interpreted, high-level, general-purpose programming language which supports multiple programming paradigms. It was designed with an emphasis on programming productivity and simplicity. In Ruby, everything is an object, including primitive data types.Unlike languages such as C and C++, a scripting language doesn't talk directly to hardware. It's written to a text file and then parsed by an interpreter and turned into code. These programs are generally procedural in nature, meaning they are read from top to bottom.Object-oriented languages, on the other hand, break out pieces of code into objects that can be created and used as needed. You can reuse these objects in other parts of the program, or even other applications.Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.Ruby is seen as a flexible language, since it allows its users to freely alter its parts. Essential parts of Ruby can be removed or redefined, at will. Existing parts can be added upon.This course will teach you the basic fundamentals of the Ruby programming language.Topics covered include:Ruby GemsInstalling RubyInteracting with RubyArraysVariables and Variable scopeStringsRuby SymbolsRuby ConstantsLogical OperatorsComparison OperatorsArithmetic OperatorsRanges