Akonyl wrote:
that bottom-left panel's basically what happened when I started work, except in my case it was "oh hey we're gonna stick you in the office with these two guys so they can teach you" and then they were in the office maybe 10% of the time because they were working on projects that needed them elsewhere :V
My supervisor (very hot) and mentor are both really nice to me, but jesus whenever I check the office communicator they are ALWAYS in meetings. Â It's hilarious; the co-ops all joke that they just go to meetings and don't do any work.
The phone/computer thing is true for me...I didn't have internet access to my desktop since day 1, and still don't. Â I've been using a laptop that IT loaned out to me. Â And the machine is still on Vista. And my phone doesn't workÂ
my phone works, I'm just not sure how to use it 100%. I can call people, but I have 3 missed messages that have been sitting on it for ages because I forgot my voicemail password and don't know how to reset itÂ
Callid wrote:
Switching without Strings just looks...
that's not the switch's fault, that's your fault for using magic numbers.
Callid wrote:
Switching without Strings just looks...
that's not the switch's fault, that's your fault for using magic numbers.
Well, I have to. It has to be a number, and it must be constant (so no case "skillList".hashcode():). I don't really have a choice in that matter, if I want to use switches (and avoid those even more unsightly if-else-if-else-if-else...)
Callid wrote:
Switching without Strings just looks...
that's not the switch's fault, that's your fault for using magic numbers.
Well, I have to. It has to be a number, and it must be constant (so no case "skillList".hashcode():). I don't really have a choice in that matter, if I want to use switches (and avoid those even more unsightly if-else-if-else-if-else...)
use a language that takes care of garbage collection for you  :-X
Otherwise, though I never made one myself, you could probably make a generic class that serves as a pointer wrapper, and make a map of that maps a pointer's int address to a "copies" number, which upon creation / reassignment / destruction of the pointer wrapper, would increment or decrement that number accordingly, and have a "pointer manager" object that spends its time looking through for instances in the map where "copies == 0" and then deallocating that memory. There's bound to be some sort of issue with that implementation though since I've never actually tried it
but also, depends what you mean exactly by a "memory manager" I spose.
Haha well I'm in a senior project group, and what they want to do right now is create a game engine. And with the game engine we will be writing everything from scratch to create a game for the next semester for the actual game engine. I'm going to be using C++ but apparently they want the memory manager to be like a large pool of memory that the engine builds off of.
So like, you'd just malloc a huge block of memory and then have your engine "malloc" that space off to all the new objects you make? That just seems unnecessarily restrictive to me, unless there's some reason they want all the game's memory to be in a contiguous block like that.
and yeah, Python's probly pretty good for smaller stuff but I just hate the way it handles scoping (by indenting, not braces)
@ranger: I dunno what the place you're workin at does, but regardless of bein an intern they might have you on grunt work for a while. They didn't even allow me to touch a line of code for the first month or two, and only let me run tests to get acquainted with things. Most of the test cases, funnily enough, were written by an intern who had been working there for a while, so just because you're an intern doesn't mean you won't get to do actual work.
Python, scripting languages in general, are great. Honestly, I feel like most people should probably learn python/ruby first rather than an OOP high-level language like Java or C++...the pseudocode makes a lot more sense for beginners, and the readability is so much better. When I was a noobie, my god reading other people's code was horrific. Especially when they didn't comment. Hell it still is pretty horrific when it comes to some stuff.
But of course...scripting languages still got its flaws...but nothing that someone who isn't like a software engineer should fret about. its like..75 times slower in execution compared to like C++ and C but I mean, not really that important. And, it kinda sucks compared to other languages when it comes to memory stuff.
@Akonyl: I just do a crapload of grunt work. I'm at a semiconductor company, and I'm supposed to do like.. Automatic Testing on the processor level, so cool shit, but so far I've just been doing the nastiest and dulling XML parsing for tester data. Shit is gross. Especially when XML formatting can be extremely lenient. Millions of HashMaps. Millions.