45 karma · joined Jul 17, 2016 (10y ago) · 33 submissions
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Also, games programming is HIGHLY agile. Most of the logic you implement will be thrown away. It's all about rapid prototyping and finding what is "fun". Of course, once you've found something fun you might want to build it into a solid and scalable system, but even in such a system you might want to keep the flexibility for designers to extend and add new elements as they see fit (using visual scripting!). The ability for non-programmers to be able to make gameplay changes is also an important factor.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
Actually, I find that more often than not, code written in this manner is actually easier to maintain, because there are no layers and concepts to untangle - just the raw functionality and data transformations. You don't need to put yourself in the mindset of the person who wrote the code, who might not have had the right concepts in their head at the time. Instead, you just parse the code like a computer - This makes it easier to figure out what the code actually does rather than being distracted by the intent of the author.
The main purpose of abstraction is to intentionally hide implementation details so other people can use your code without requiring a full understanding of all the details. However, when maintaining code, obfuscation is the exact opposite of what you want - You want to fully understand what the code is actually doing. Internally, I forgo most abstractions. For public interfaces, I expose highly specific functions and datatypes rather than "generic" interfaces, and only the bare minimum. Variants should favor duplication over generalization when uncertain. It's up to the consumer of those APIs (which is often myself!) to choose whether or not to implement abstractions on top of those. In my experience, it's either super-obvious when it's needed or unnecessary if unsure - So you can usually push back abstraction up to that point.
comment 7y ago · link · parent
A functional language such as Haskell tend to make us think a little bit more about what abstractions we use, because they are such an integral part of the language you can hardly do anything without them. We can "converse" with the compiler to come to a better understanding of how our code should be structured. You usually end up with a better domain model. However, this can also be very limiting. Lack of control of execution and no control of memory layout is a problem in my domain (video games). It's also slower to develop for because you can't take "shortcuts", which can be helpful to get something up and running without having to understand the problem domain.
I still use OOP daily (C++), but I never start out with abstractions when writing new code. I tend to create C-style structs and pure functions. Eventually, I will have a better understanding of how this new module should be organized, and will make an API that is RAII-compliant and whatnot. I think you can easily write clean code in OOP as long as the abstraction makes sense.
comment 7y ago · link · parent
I can imagine tech jobs where most of the hobbies you've listed could be considered relevant. Dance? Biometric sensor tech. Guns? Video games. And so on...
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
I like this quote from Mr. Robot. Most of the time a bug is not an error in logic, but a misunderstanding in how some component of the system works or an unexpected outcome of the emergent behavior of basic rules. Always check your assumptions.
comment 7y ago · link · parent
I don't necessarily see it as a bad thing. It just feels the most natural, reduces friction and the need to communicate minute details. Ownership is also important. The downside of this is that some part of the project might fall apart if someone leaves, because no one else can take over.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
Mostly just a CV and overview of projects I've done. I do consulting on realtime-rendering, game dev and interactive installations. Somewhere between tech and design.
comment 7y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
I think psychology could bring valuable insight into the future of AI as well. It's a shame that most psychologists involved in tech are in HR/communications or at best tasked with keeping people addicted to whatever social platform they are building.
comment 8y ago · link · parent
comment 8y ago · link · parent
I think the biggest benefit for me has been exactly that - taking a whole new look at a skill I thought I had figured out - Or going beyond what I thought was my limit by approaching it in a new way. I think the numbers and WPM don't really matter, but it's a nice way for me to personally quantify my improvement and progress over time. That said, I think it would've been impossible to for me to do all this without discarding the familiar (QWERTY) and starting from scratch. In that sense, the layout matters.