Questions tagged [prototyping]
The prototyping tag has no summary.
73 questions
1
vote
1
answer
607
views
Proof of Concept and Use Case Scope
We're busy with a proof-of-concept to replace an existing system, but there's disagreement on how one limits the scope of the use case(s).
We're managing multiple resources across multiple projects so ...
7
votes
1
answer
364
views
How do you use version control systems while you are in a long design spike phase?
In some recent projects, I found myself having some longer spike phases in which I build many cheap prototypes and explore different design decisions, long before I would consider my code of ...
1
vote
2
answers
1k
views
What’s the difference between incremental and throw-away prototyping?
As far as I know, throw-away prototyping involves creation of prototypes in iterations where each prototype is discarded after one iteration. For incremental prototyping, the resources I referred to ...
4
votes
2
answers
376
views
Does an increment always involve a working prototype?
I would like to ask a question about Scrum. At the end of a Sprint, when we have the Sprint Review, we present an Increment.
The guide says that this Increment has to be potentially releasable.
My ...
1
vote
1
answer
308
views
Mixing Creational Patterns - Prototype and Builder
Out of 5 creational design, would Builder and Prototype mixture be a valid use?
The reason for this question is - Builder assists building complex objects with various combinations of attributes. But ...
9
votes
5
answers
641
views
Convincing "agile" product managers of the value of planning
Became tech lead of a startup a few months ago. Software development is under Product in the org chart.
Even by startup standards the codebase I've inherited is poor. Example: the dev team took three ...
5
votes
5
answers
2k
views
Should a Product Owner be responsible for an initial prototype?
Is it typical that a Product Owner (or even a BA) creates a high-level prototype/wireframe of a system based on the requirements document to ensure that the requirements are clear enough to start ...
-2
votes
2
answers
282
views
How many valid users to test the software that has been developed?
Anyone know, how many users are valid to use the prototype of the software that we have made? I have conducted research on the reference to the "Software Engineering A Practitioner's Approach book ...
6
votes
2
answers
970
views
Should I be unit testing during prototyping/preparing for beta?
I am developing a web application for an industry that desperately needs it. Working with a consultant in the industry, I’ve rapidly developed a prototype in 2 months that we will be testing with a ...
-3
votes
1
answer
1k
views
Demo versus Prototype [closed]
What are the differences between a demo and a prototype in software engineering?
My research taught me that a prototype is typically the minimum viable software needed to allow users to test its ...
0
votes
2
answers
163
views
Liskov's substitution principle and prototypical languages
Do prototypical languages provide a remedy from Liskov's problem?
So the way I see this is: a subclass is very tightly coupled with it's superclass and this creates subtle side effects when ...
2
votes
2
answers
5k
views
Struct "prototypes" in (plain)C?
As the title says, can it be done?
struct Room{
char *type; //Lecture hall, laboratory, etc.
char *name;
int *capacity; //How may people it can hold
struct Building *building;
};
...
0
votes
1
answer
338
views
Javascript: Invest in ES6 or learn prototype fundamentals [closed]
As a budding software engineer, what is worth time-investment in terms of Javascript? I'm interested in long term payoffs in terms of a deeper understanding of languages, tech, software engineering, ...
0
votes
1
answer
324
views
Emulating classes in Javascript
Lets take the following example of inheritance in javascript:
var Employee = function(name, salary) {
Person.call(this, name);
this.name = name;
this.salary = salary;
}
Employee.prototype = ...
3
votes
1
answer
370
views
Is it bad to access the constructor prototype within the constructor?
Most places where I have seen prototypes defined for a constructor it was done like so.
var Person = function(){
this.stuff = stuff;
}
Person.prototype.doSomething = function(){console.log("...
2
votes
1
answer
1k
views
Why does JavaScript console.log of objects sometimes show prototype/constructor pattern forever
I've always noticed this, but never actually understood what's happening here. I have a fairly simple object that I've put in a console.log. It has a seemingly never ending pattern of prototype -> ...
-1
votes
1
answer
284
views
Inheritance hierarchy design approach - Javascript [closed]
For the below code, that creates inheritance hierarchy,
function Animal(){
this.name = "Animal";
// toString is a function in the main Object that every
// object inherits from
this....
6
votes
1
answer
2k
views
Why is Array.prototype designed to be a fully functional array?
In the below visualisation,
There are two array objects(cars & bikes) that are created with below syntax,
var cars = new Array("Saab", "Volvo", "BMW");
var bikes = ["Honda", "Yamaha"];
whose [[...
1
vote
0
answers
283
views
Lazy loading collection data through granular subscriptions and OOP (Meteor.js)
I am transforming my Meteor collection to a class I've created:
People = new Mongo.Collection('people', {
transform: function(doc) {
return new Person(doc);
}
});
Person has a bunch of ...
0
votes
1
answer
139
views
Best pattern to write a PHP function that checks on access and returns more then boolean?
I'm prototyping behaviour of a new application, and want to write some functions that check on access based on some variable dates.
I just want to write separate functions for that, like "...
4
votes
1
answer
2k
views
When to use Prototypes & the correct usage of Prototypes ( Javascript )
I have been programming in Javascript for a while and I am quite comfortable with it. And I know the basic concept of prototypes and I have also used them a few times. But one thing I can't figure out ...
1
vote
1
answer
145
views
What is a good metric for guiding a switch from a prototyping language to a production language? [duplicate]
By "prototyping language", I mean one which was chosen by virtue of it's relative ease of quickly accomplishing the sort of design changes common to prototyping in a particular context. (such as data ...
5
votes
2
answers
4k
views
What's wrong about extending a class with prototype methods?
I was at a bar last night with a few of my colleagues. They said that it's a bad idea to extend the functionality of basic JavaScript Objects with a prototype method.
For example, let's say you ...
5
votes
1
answer
2k
views
Why can a constructor be used without `new` keyword in Javascript?
I found Date can be used without the new keyword.
Date(1)
> "Thu May 28 2015 15:54:20 GMT+0800 (CST)"
new Date(1)
> Thu Jan 01 1970 08:00:00 GMT+0800 (CST)
I was wondering whether there is any ...
2
votes
2
answers
513
views
Managing scaffolding for debug vs production builds
The more I program the more I realize that most of my time is spent writing scaffolding for programs so that I can debug them and then strip away the scaffolding for production.
The problem is that ...
0
votes
0
answers
105
views
Extension of native prototypes, good or bad practice? [duplicate]
Today I stumbled upon this page on the Mozilla Developer Network.
In it, not only it is stated that it's a bad practice to extend native prototypes, but also that there is only one exception to this, ...
15
votes
1
answer
888
views
When to use prototypical programming in JavaScript
I've spent a good bit of time developing simple widgets for projects in the following way:
var project = project || {};
(function() {
project.elements = {
prop1: val1,
prop2: val2
}
...
3
votes
0
answers
144
views
Can/should objects share methods in certain circumstances?
I am currently working on a web application that is supposed to resemble an operating system with GUI (it manages processes and windows). I have several constructors which deal with different aspects ...
0
votes
0
answers
652
views
Proof of Concept in agile development [duplicate]
I am part of a team that develops and maintains a B2B web portal that had evolved over several years. We follow an agile development process.
My department has plans for a major platform upgrade ...
10
votes
2
answers
17k
views
Why we need Throw-away Prototyping?
What is throw-away prototyping model in software engineering and why do we need it? How does it differentiate from Evolutionary Prototyping?
1
vote
3
answers
497
views
Is rapid prototyping incompatible with software requirements specification?
From what I've learned last term on SWE courses, a big part of it is writing documents, so it seems that a software requirements specification (SRS) should earn points for my end-of-course project.
...
0
votes
1
answer
175
views
Concerning JavaScript prototype and the initial constructor function
I am going through a tutorial on OOP in JavaScript (javascriptissexy.com using OOP in JS: What you Need to know).
The instructor is explaining the Constructor/Prototype pattern of object creation. I ...
1
vote
5
answers
5k
views
How to create a Python method prototype
If I'm giving an interview coding question in Java, I can specify the most of the question just by giving a method signature. (Made-up example follows.)
public class Table {
public String ...
12
votes
8
answers
11k
views
How does rapid prototyping fit into an agile methodology?
I work for a large company, which dictates the use of agile processes. For example, for our projects, we use cloud-based services that are specifically targeted at managing agile development.
The ...
6
votes
2
answers
7k
views
C++ class with only pure virtual functions: what's that called?
So i'm looking for some input/consensus on what terminology we should be using to describe something that looks like this:
class Printable
{
public:
virtual void printTo(Printer *) = 0;
...
6
votes
2
answers
1k
views
How come javascript, being a prototype based language, doesn't have an easy way to access the prototype?
May be this is a stupid question, but I'm kind of intrigued.
Being JavaScript a prototype based language, with its pseudo-class function constructors sort of half baked (remember JavaScript: The Good ...
5
votes
2
answers
2k
views
How do I survive in a Waterfall world? [duplicate]
I currently work in a company where the Waterfall model is deeply ingrained. We are pushing Agile principles but it's a long process. Meanwhile, I have to work in a Waterfall world with sequential ...
2
votes
1
answer
170
views
create function of object prototype
I am reading "Javascript : The good Parts" to improve my Javascript bases and knowledge. I was reading stuff about prototype and I encountered in this function :
var stooge = { ... }
if(typeof ...
5
votes
4
answers
4k
views
What's the point of the Prototype design pattern?
So I'm learning about design patterns in school. Many of them are silly little ideas, but nevertheless solve some recurring problems(singleton, adapters, asynchronous polling, ect). But today I was ...
1
vote
2
answers
816
views
Record management system java web framework
We're currently reconsidering technologies and frameworks to get more agile with "simple" RMS CRUD-based projects. In short, short-living things like this
Right now we have a custom extension on top ...
0
votes
1
answer
194
views
If I define a property to prototype appears in the constructor of object, why?
I took the example from this question modified a bit:
What is the point of the prototype method?
function employee(name,jobtitle,born)
{
this.name=name;
this.jobtitle=jobtitle;
this.born=born;
this....
8
votes
3
answers
2k
views
Javascript simple code to understand prototype-based OOP basics [closed]
I know Javascript for some time, although I am not a heavy user, I know it the first from the time when Netscape was my browser. I pretty much understand the main things, but since JavaScript approach ...
6
votes
1
answer
338
views
Tools for modelling data and workflows using structured text files [closed]
Consider a case when I want to try some idea of an application. But I want to avoid investing a lot of effort in coding UI/work flows/database schema etc before I see that it's going to be useful to ...
3
votes
3
answers
5k
views
Best practices: Ajax and server side scripting with stored procedures
I need to rebuild an old huge website and probably to port everyting to ASP.NET and jQuery and I would like to ask for some suggestion and tips. Actually the website uses:
Ajax (client site with ...
3
votes
3
answers
17k
views
Do your managers prefer to create proof of concept (POC) before working prototype?
At last team meeting I heard from managers that we need to create proof of concept (POC) before main prototype and integrate this concept with the main system for proving a new feature.
Could you ...
7
votes
3
answers
25k
views
Fastest way to set up a JSON server on my local machine [closed]
I am a front-end developer. For many experiements I do I need to have a server that talks JSON with my client side app. Normally that server is a simple server that response to my POSTs and GETs.
For ...
4
votes
5
answers
2k
views
Should you exercise TDD on prototype applications?
I'm developing an iOS app, which is a prototype for a customer. They're expecting it to not be of production standard and are happy for a few rough edges here and there.
Since this is my first ...
1
vote
1
answer
185
views
Standard way to generate HTML prototypes?
I used to get PSD files and generate HTML prototypes from them which are supposed to be exact replica of these PSDs. The process I follow is simplest one generate plain HTML pages for each PSD.
But I ...
7
votes
5
answers
354
views
Should an application be designed without prototyping first?
I've just begun using a popular, well-documented graphics engine, and was given a month to create some small programs and get familiar with it.
The library is huge, and there are sections I haven't ...
4
votes
2
answers
452
views
Is prototype.js still relevant?
I'm developing a web application which I started on about 2 years ago. It is an AJAX-heavy single page design and prototype solved problems where I didn't want to reinvent the wheel. I am using a ...