I have it as backspace...following the intended colemak layout. Kinda need a programmer version of colemak {[}] are in default positions which just feels inefficient...
Stingrae789
Posts
-
FREE FROM THE TYRANY OF THE CAPS LOCK!!!!!!!! -
Non-programming question about Java...So I taught myself Java about a month ago after running through runtime hell for a week with my current project (where I have no 'real' need for C++). I have a semester's worth of experience with C# and my degree was primarily C++ with a splattering of other languages where appropriate. It took about a week to be comfortable in Java. I am now tutoring Java to first years, I ran into the flaws of JCreator which is a very familiar environment from a visual studio background but ultimately only the pro version is good enough when you compare against netbeans (my primary java ide) and eclipse. I have also found JGrasp adequate but not ideal due to the lack of intellisense (excuse the microsoft term). Netbeans window flexibility makes it my choice over eclipse although I still like the visual studio IDE. There are problems with Java but they aren't that noticeable for the most part. Language wars seem futile as compilers improve and cpu power available increases. The language design is however old, Scala is a more modern language for example and still works on the JDK. I also like the ability of Java to integrate with C through the JNI while not ideal, it provides potential optimizations. As for your queries: Properties are nice but certainly not necessary, import replaces using but I miss the idea of things belonging to namespaces (as done in C++ where std::vector != mycontainers::vector), while the ide resolves these I don't enjoy reading code where I can't tell what package things are from. I feel Java is better than C# because of greater portability however this doesn't mean C# doesn't have areas where it is better e.g. Unity3D and XNA are great C# based tools. Also I would like delegates as C# implements them in Java.
-
Olympics opening ceremony. Refund?I don't actually know whether most Londoners are going to like the Olympics it kind of messes up the transport systems :\. But agreed.
-
Olympics opening ceremony. Refund?Anything that may benefit the country in some way == the North hates and despises. In some cases they are right and some wrong although pretty much always the moral highground is theirs. (I am not English) Regarding the Olympics, unless the organization is nicer than Fifa, it will cost Britain money. 2010 world cup cost south africa money (no profit was made and its not like we don't have real problems here) heck they didn't even use the very good musical talent for the world cup songs (ok freshly ground accidently got to be backing but they are better than Shakira by far and AFRICAN!!! Then there's Johnny Clegg (who has a song in George of the Jungle) and a large French following. I am told the spirit was good while the event was on. To be honest one could improve the mood in all places (although England needs it a lot) just by making it law to smile more-_-...
-
using a SSD with Visual Studio ... setup?If your stuff is disk intensive then yes it will improve performance. My 'stuff' was and still is more processing based and while the load times are nice the cost wasn't worth it but I only sent mine back as it resulted in a consistant blue screen issue, just got unlucky.
-
How do I decide for class responsibilities?Now to actually give you an alternate answer... While this is overly complicated for the question: Body and Title could be considered types of text components and your Post could be a 'Base Object' type that consists of a component list. In this 'silly' system, your 'Post' can easily be given any number of components because Post supports having components that have their own functions. Why not have the components as members? Well because with this idea of base objects having a list you only have to change whether you are giving the component to the object rather than modifying the member in the class. e.g. I want a new 'StupidEnemy' that has a different 'AIComponent' to the 'Enemy'. I don't have to have a new class for my new type of enemy I simply give them a different AIComponent at instantiation. I don't think this is a great approach in most cases (As you 'could' end up using a data structure to hold a single component, this seems illogical), I’ve used it a little before and it has its pros and cons but it does mean your code fits SOLID. It works quite well for game development though as it keeps the project tidy (Relative to just using straight composition).
//This is all just to represent the use of a components
BaseObject post = new Post(); //for some reason our post needs to be a subclass, again this is just a silly example.
TextComponent Header = new Header("Header"); //Best to use a uID here instead so you can potentially have multiple headers or a multimap over a vector
post.Add(Header); //Add would initialise the component to have a pointer to the Base Object
Post->getComponent("Header").SetMessage("Hello World") //get our component
//in event cycle
Post->Execute();//what ever you want to call on all components Update(), Render() etc./rant I didn't do English at University, it has no real place in a BSc also it's more of a sociology/business idea and while it does occur, I want to aim to have a better work ethic constantly for myself!/endrant
-
How do I decide for class responsibilities?My graduate university is ranked among the lowest in England, even they taught us that even with experience there is always more to learn. Education is great but never tie yourself to it, what works in theory doesn't always apply to every situation. In industry experience is worth more atleast until you actually have had a few jobs. Software development is the one field where a specific degree doesn't necessarily make you better than Joe Bloggs who self-taught. Also experience > actual software developed > education as far as I can see Also lose the idea that top people get paid to do practically nothing you will find that even some CEOs work over 9 hours a day, design and planning may be what they (top engineers) actually get paid for but that still involves thinking and much of that comes as the result of experience.
-
Dvorak keyboard layoutI switched to colemak 3 months ago after not being able to touch type properly. I am enjoying it but dislike that the rest of the world is qwerty and yes it is easier to be a dvorak user as colemak is not a standard layout on Windows.