Why Is NetBeans Full of Cookies?



If you've ever studied NetBeans sources or wrote anything above NetBeans, you must have crossed the omnipresent Cookies. There is a nice explanation of how the term was created in the NetBeans: the Definitive Guide (which is btw a great resource if you want to really understand NetBeans, most concepts are still valid although the book is about NetBeans 3.x):

----------------------%<----------------------
Why Cookies?

According to Yarda Tulach, “The name ‘cookie’ was invented by us, and was meant as something special and sweet that is provided by an object, which you can ask for.” NetBeans’ cookies bear a fleeting resemblance to the concept as defined by web browsers, but only inasmuch as they are objects held by a provider object which is not expected to know much about what kinds of cookies it possesses. Do not conflate NetBeans’ concept of cookies with browser cookies— this will only create confusion. The name probably contributes a little bit to Cookies being a stumbling block for people getting involved in coding for NetBeans.
----------------------%<----------------------

If it helps you can visualize a Node offering various Cookies like this:

Comments:

Post a Comment:
Comments are closed for this entry.
About

Roman Strobl

Search

Archives
« duben 2014
PoÚtStČtSoNe
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today