←2005-03-22 2005-03-23 2005-03-24→ ↑2005 ↑all
03:27:32 -!- calamari has joined.
03:28:36 <calamari> hi
03:36:41 -!- heatsink has joined.
05:32:11 -!- discosteve has joined.
05:33:27 -!- discosteve has left (?).
06:16:36 -!- heatsink has quit ("Leaving").
06:48:40 -!- ChanServ has quit (ACK! SIGSEGV!).
07:15:37 -!- calamari_ has joined.
07:15:38 -!- calamari has quit (Read error: 110 (Connection timed out)).
07:18:41 -!- ChanServ has joined.
07:18:41 -!- irc.freenode.net has set channel mode: +o ChanServ.
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:41:17 -!- calamari_ has quit ("Leaving").
13:17:07 -!- ChanServ has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- cpressey has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- Taaus has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- fizzie has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- arke has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- lament has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- cmeme has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- Tefad has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- mtve has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- lindi- has quit (clarke.freenode.net irc.freenode.net).
13:17:07 -!- {^Raven^} has quit (clarke.freenode.net irc.freenode.net).
13:17:13 -!- ChanServ has joined.
13:17:13 -!- lindi- has joined.
13:17:13 -!- lament has joined.
13:17:13 -!- cpressey has joined.
13:17:13 -!- Taaus has joined.
13:17:13 -!- fizzie has joined.
13:17:13 -!- arke has joined.
13:17:13 -!- cmeme has joined.
13:17:13 -!- {^Raven^} has joined.
13:17:13 -!- Tefad has joined.
13:17:13 -!- mtve has joined.
13:17:13 -!- irc.freenode.net has set channel mode: +o ChanServ.
16:21:13 -!- Jidder has joined.
16:32:59 -!- Jidder has left (?).
16:39:21 -!- baadc0de has joined.
16:41:23 <baadc0de> can anyone point me to a usable IRC channel where one can discuss programming language design a bit?
16:42:08 <{^Raven^}> can't think of any offhand
16:42:45 <baadc0de> i'm trying to create a functional UnrealScript - class language for a generic multi media engine
16:42:55 <baadc0de> I'm currently pondering over "const"
16:43:31 <{^Raven^}> have you looked into how other languages implement const for inspiration?
16:44:23 <baadc0de> have, yes, and the outcome is: unrealscript doesn't have it, C++ has it, C# doesn't
16:44:43 <baadc0de> it's probably not so much of a language but std lib feature
16:46:15 <{^Raven^}> const is a c++/C# keyword not a lib func
16:48:12 <{^Raven^}> definition: const - A keyword that allows you to define a variable whose value does not change.
16:48:13 <baadc0de> yes, ofc, but if you have const in a language, and the std lib is very much connected with the language, the question probably is, whether or not to use const in the std lib
16:48:45 <baadc0de> since I've been given feedback that const confuses scripters
16:48:48 <{^Raven^}> as const deals with declaring variables it makes sense to have it in the language
16:49:15 <{^Raven^}> if it is part of your language then all libraries can make use of it
16:49:59 <{^Raven^}> yeah, well i reckon that coders who understand it will use it
16:50:16 <{^Raven^}> and the rest will just declare a variable and not change it's value
16:50:50 <baadc0de> okay, I guess I'll just make use of const in the lib, but not too extensive
16:52:02 <baadc0de> since I don't support de-consting casts...
16:52:19 <{^Raven^}> heh, conts are meant to stay that way
16:52:38 <{^Raven^}> if the value may need to be changed then declare it as a regular variable
16:52:52 <{^Raven^}> const is only for values that DO NOT change
16:54:13 <baadc0de> sure thing, but C++, for example, has const_cast
16:55:28 <{^Raven^}> better to consult the C++ documentation for usage of const in class member functions
16:57:18 <baadc0de> consider void f(const int& i) { ((int&)i) = 3; }
16:58:00 <baadc0de> I think even class X { int y; void f() const { ((X*)this)->y = 3; } is possible
17:00:16 <{^Raven^}> the comp.lang.c++ newsgroup may have some better answers for you
17:00:33 <{^Raven^}> this is a little out of my depth
17:02:23 <baadc0de> oh, sorry then
17:02:52 <{^Raven^}> no probs
17:02:56 <baadc0de> the only thing I wanted to point out is that in C++, one can make a const variable non-const at any time, by utilizing a cast.
17:03:09 <{^Raven^}> oic
17:10:45 -!- baadc0de has left (?).
18:37:02 -!- Keymaker has joined.
18:37:12 <Keymaker> hi
19:29:36 -!- lindi- has quit (Read error: 113 (No route to host)).
19:30:44 -!- lindi- has joined.
19:30:51 <Keymaker> hi
19:35:30 -!- cmeme has quit (Remote closed the connection).
19:36:24 -!- cmeme has joined.
19:36:36 -!- cmeme has quit (Remote closed the connection).
19:37:21 -!- cmeme has joined.
20:12:02 -!- Keymaker has left (?).
21:15:17 -!- Tefad has quit (Read error: 110 (Connection timed out)).
21:19:38 -!- Tefad has joined.
21:57:33 -!- ChanServ has quit (Shutting Down).
22:14:10 -!- ChanServ has joined.
22:14:10 -!- irc.freenode.net has set channel mode: +o ChanServ.
←2005-03-22 2005-03-23 2005-03-24→ ↑2005 ↑all