« first day (421 days earlier)      last day (472 days later) » 

user1804599
2:10 PM
@FredOverflow I figured out how to make Styx extremely simple to implement with static typing.
 
user1804599
Interface and implementation files. :P
 
user1804599
You have to declare things before you can use them.
 
user1804599
Single-pass compilation!
 
user1804599
It's also fast as hell.
 
user1804599
styxc will run circles around clang, because styxc is compiler scale.
 
2:49 PM
@rightfold I don't like that. Even Karel is capable of calling functions that are declared/defined later :)
@rightfold How do you pronounce styxc?
 
user1804599
@FredOverflow stiks see
 
user1804599
@FredOverflow I like separate interface and implementation anyway.
 
user1804599
@FredOverflow the c means "compile" like in cc, csc, lessc and tsc. :P
 
user1804599
3:15 PM
What happened to ?
 
user1804599
Is it finally dead?
 
4:36 PM
1
Q: Implementations of Singleton in different programming languages

Girly GirlToday, I heard a discussion about singletons in Java. The point was that it is much more complicated than in other programming languages. I would like to ask you, how it looks in languages like C#, Python, Perl, Ruby...? In my opinion, in Java, it looks quite good. public class ClassicSingleto...

 
 
5 hours later…
9:45 PM
0
Q: Singleton class is not working

Umer SufyanI m trying to make Clients class singleton but it is not working. here is my clients class: public class Clients { private ArrayList<Client> cList; private static Clients instance = null; private Clients() { cList=new ArrayList<Client>(); } public static Clients getInstanc...

0
Q: Never returning from call to boost singleton

nvdstruisI have a class, which is a boost serialization singleton. I need to do some initialization inside the main function of the program. So I made a public function in the singleton class, which I call in the main function. Unfortunately the function somehow seems to never return, causing the remaind...

 
 
1 hour later…
10:56 PM
0
Q: Restricting class to one instance without using singleton?

MightyPorkI don't want to use singleton, but I simply cannot allow more than one instance of my class. Would you consider this a good approach, and if not, what's a better way? public class SoundSystem { private static boolean instanceCreated = false; public SoundSystem() { if(instanceC...

 

« first day (421 days earlier)      last day (472 days later) »