• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

butlermatt/dart_koans: Dart Koans. Achieve enlightenment through failure.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

butlermatt/dart_koans

开源软件地址:

https://github.com/butlermatt/dart_koans

开源编程语言:

Dart 100.0%

开源软件介绍:

Dart Koans

This application is inspired by Ruby Koans. The idea is simple: You achieve enlightenment though a process of failures. As each failure is overcome you get one step closer to enlightenment.

In practice, the Dart Koans allow you to learn Dart through a much more hands on approach. Each test is accompanied by enough comments surrounding the code that an individual should be able to determine what the code is trying to accomplish and what values need to be provided to the default fill-in value.

Installation

In order to properly complete the koans, you will need to edit the files, as well as run the script. As such it is recommended that you download the .zip file and extract it to a local directory. Once downloaded to a local directory, you may need to run pub install in the directory to copy over the required sdk files. Do Not use pub to download and install the Koans to another project, as it will place the source files in the pub-cache and more difficult location for editing properly.

Usage

First you must make sure you have, at the least, the Dart VM installed on your computer and working. If you're unsure about this process please see the Dart download. From the command line use the dartVM to run the file:

dart bin/dart_koans.dart

You should receive an error letting you know where your path to enlightenment is currently blocked. From there, edit the file either with your favorite CLI editor, or with the Dart Editor.

Modify the file to correct the error, save and run the application again. Continue until enlightenment is achieved.

At current time, it is recommended that you run the application from the command line, and not from the Dart Editor. This is until one of two bugs are resolved: Issue 4654 and Issue 2789

Notice

If you load the project in the Dart Editor, you can expect to see several warnings and hints about the project in various files. This is to be expected, as each test is designed to fail in order to highligh specifics about the Dart language.

Also Note: This is currently still very unstable and a work in progress. There are numerous areas which are subject to change as development progresses.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap