Prototype your design## Prototype your design! Robert Griesemer dotGo 2016, Paris ## Getting to good software design • Literature is full of design paradigms • Usually involves ○ Design docs Feedback from reviewers requires prototyping Try stuff Reframe problems Empathize Ideate Build your way forward! Define Prototype Test ## Example: Designing Go support for numerical apps  { 8 // assets we'll use in the loading screen 9 this.load.image('logo' 3 //loading the game assets 4 SpaceHipster.Preload = function() { 5 6 SpaceHipster.Preload.prototype = { 7 preload: function() { 8 //show logo in loading screen 9 this stars background and some text. SpaceHipster.MainMenu = function() { SpaceHipster.MainMenu.prototype = { create: function() { // show the space tile, repeated this.background0 码力 | 472 页 | 8.46 MB | 1 年前3
阮一峰 JavaScript 教程LiveScript 改名为 JavaScript。基本上,JavaScript 这个名字的原意是“很像 Java 的脚本语言”。 JavaScript 语言的函数是一种独立的数据类型,以及采用基于原型对象(prototype)的继承链。这是它与 Java 语法最大的两点区别。JavaScript 语法要比 Java 自由得多。 另外,Java 语言需要编译,而 JavaScript 语言则是运行时由解释器直接执行。 JavaScript 有三种方法,可以确定一个值到底是什么类型。 - typeof 运算符 - instanceof 运算符 • Object.prototype.toString 方法 instanceof 运算符和 Object.prototype.toString 方法,将在后文介绍。这里介绍 typeof 运算符。 typeof 运算符可以返回一个值的数据类型。 数值、字符串、布尔值分别返回 arguments 对象使用数组方法,真正的解决方法是将 arguments 转为真正的数组。下面是两种常用的转换方法:slice 方法和逐一填入新数组。 1. var args = Array.prototype.slice.call(arguments); 2. 3. // 或者 4. var args = []; 函数 5. for (var i = 0; i < arguments.length;0 码力 | 540 页 | 3.32 MB | 1 年前3
Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2023.11)1 Duration Their durations are defined using the last verb: @startgantt [Prototype design] lasts 15 days [Test prototype] lasts 10 days -- All example -- [Task 1 (1 day)] lasts 1 day [T2 (5 days)] 2020-07-01 [Prototype design] starts 2020-07-01 [Test prototype] starts 2020-07-16 @endgantt  @startgantt [Prototype design] design] lasts 15 days [Test prototype] lasts 10 days [Prototype design] starts D+0 [Test prototype] starts D+15 @endgantt1 2 3 4 5 6 0 码力 | 551 页 | 7.79 MB | 2 年前3
PlantUML 1.2023.11 Guía de Referencia del Lenguaje1 Duration Their durations are defined using the last verb: @startgantt [Prototype design] lasts 15 days [Test prototype] lasts 10 days -- All example -- [Task 1 (1 day)] lasts 1 day [T2 (5 days)] 2020-07-01 [Prototype design] starts 2020-07-01 [Test prototype] starts 2020-07-16 @endgantt  @startgantt [Prototype design] design] lasts 15 days [Test prototype] lasts 10 days [Prototype design] starts D+0 [Test prototype] starts D+15 @endgantt1 2 3 4 5 6 <0 码力 | 531 页 | 7.53 MB | 2 年前3
PlantUML 1.2023.11 Sprachreferenz1 Duration Their durations are defined using the last verb: @startgantt [Prototype design] lasts 15 days [Test prototype] lasts 10 days -- All example -- [Task 1 (1 day)] lasts 1 day [T2 (5 days)] 2020-07-01 [Prototype design] starts 2020-07-01 [Test prototype] starts 2020-07-16 @endgantt  @startgantt [Prototype design] design] lasts 15 days [Test prototype] lasts 10 days [Prototype design] starts D+0 [Test prototype] starts D+15 @endgantt1 2 3 4 5 6 0 码力 | 529 页 | 7.46 MB | 2 年前3
PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2023.11)
1 Duration Their durations are defined using the last verb: @startgantt [Prototype design] lasts 15 days [Test prototype] lasts 10 days -- All example -- [Task 1 (1 day)] lasts 1 day [T2 (5 days)] the start verb: @startgantt [Prototype design] lasts 15 days [Test prototype] lasts 10 days Project starts 2020-07-01 [Prototype design] starts 2020-07-01 [Test prototype] starts 2020-07-16 @endgantt 8ba94c2bb9bf6030/p335_2.jpg) @startgantt [Prototype design] lasts 15 days [Test prototype] lasts 10 days [Prototype design] starts D+0 [Test prototype] starts D+15 @endgantt0 码力 | 552 页 | 7.88 MB | 2 年前3
PlantUML 1.2023.11 Guide de référence du langageDurée Leurs durées sont définies à l'aide du verbe last @startgantt [Prototype design] lasts 15 days [Test prototype] lasts 10 days -- All example -- [Task 1 (1 day)] lasts 1 day [T2 (5 days)] @startgantt language fr [Prototype design] lasts 15 days [Test prototype] lasts 10 days Project starts 2020-07-01 [Prototype design] starts 2020-07-01 [Test prototype] starts 2020-07-16 @endgantt End Leur fin est définie à l'aide du verbe end @startgantt language fr [Prototype design] lasts 15 days [Test prototype] lasts 10 days @endgantt ] lasts 1 day [T2 (5 days)] lasts using the start verb: @startuml [Prototype design] lasts 15 days [Test prototype] lasts 10 days Project starts 2020-07-01 [Prototype design] starts 2020-07-01 [Test prototype] starts 2020-07-16 @enduml the end verb: ## @startuml [Prototype design] lasts 15 days [Test prototype] lasts 10 days Project starts 2020-07-01 [Prototype design] ends 2020-07-15 [Test prototype] ends 2020-07-25 ## @enduml0 码力 | 306 页 | 3.12 MB | 2 年前3共 834 条- 1
- 2
- 3
- 4
- 5
- 6
- 84
相关搜索词PrototypeDesignSoftware DesignPrototypingGo Language游戏开发PhaserJavaScript课程Zenva Academy教程语法编程语言浏览器Component DiagramUMLPlantUMLClass DiagramAsciiMathUML diagramsyntaxextension librariesexamplesUML-Diagrammetextuelle NotationDiagrammtypenBenutzerhandbuchdiagramcomponentdiagrammes UMLdiagrammes de classescréoleUnicodeECMAScriptES6ECMAScript 2015DecoratorJSONAWSArchimate













