Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ace17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
301.
▲
by
Ace17
10y ago
What about entities that need specialized members? e.g an "isOpen" member might make sense for a "door" entity, but it hardly makes sense for a "bullet" entity. My understanding is that Quake2 "solves"
302.
▲
by
Ace17
10y ago
No issue, just need a plugin to disable cursor rendering when you launch the build :-)
303.
▲
by
Ace17
10y ago
You no longer have to deal with solution domain issues (memory leaks, crashes, deadlocks, type errors ...). However, you might still need a huge bunch of english text to describe the problem domain. If such a text isn't already availab
304.
▲
by
Ace17
10y ago
Whatever we call it, e.g "OO", inversion of control, dependency injection, polymorphism, function pointers, ... This can all be summarized in one question: "can old code call new code?". This is required to build a prope
305.
▲
by
Ace17
10y ago
> I don't think annonymous functions have anything special to do with FP or OO for that matter. Maybe someone can fill in on this? Anonymous functions are of no use until functions are first-class citizens (otherwise, there's n
306.
▲
by
Ace17
10y ago
My company (~50 people) has been using D in production for several years. We rely on gdc (we measured it generates the fastest code for our usage). Nearly once per year, a blocking bug sneaks into the compiler and needs to be worked-around
307.
▲
by
Ace17
10y ago
There are 3 major compiler implementations (dmd, gdc, ldc). I mostly work with gdc from GNU/Linux, and basically, everything that works with g++ works with gdc. More precisely, I use, on a daily basis: - vim + ctags (editor + symbol lo
308.
▲
by
Ace17
10y ago
The GNU/Linux systems get to be in the VMs hosted by Windows? That's the other way around, man!
309.
▲
by
Ace17
10y ago
> Without a GC WASM is very hard to use for regular web development tasks. I don't get it. If you're going to target the web and need a GC, why not use hand-written Javascript? (or any variant like Typescript/Purescript if
310.
▲
by
Ace17
10y ago
wasm will no more be a trojan horse than Javascript and asm.js are. They all are web VMs ; remote code execution is the whole point!
311.
▲
by
Ace17
10y ago
Give a man a bug report, he will fix his program one day. Give a man a fuzzer, he will be fixing bugs for the rest of his life.
312.
▲
by
Ace17
10y ago
I wonder what Fabien Sanglard would think of this. To me, the Quake 1/2 source code has been an invaluable source of insight, as much for small algorithmic stuff (like collision/sliding code) than for its architecture as a whole (
313.
▲
by
Ace17
10y ago
A must read, from Alan Kay himself: http://lists.squeakfoundation.org/pipermail/squeak-dev/1998-... "The key in making great and growable systems is much more to design how its modules communicate rather than
314.
▲
by
Ace17
10y ago
> I see blog posts all the time about how a programmer's job is more thinking than writing code and/or writing good programs is also about taking out just as much code as you put in. It becomes a lot more debatable when you
315.
▲
by
Ace17
10y ago
So, the original point still stands, but on naked CEOs.
316.
▲
by
Ace17
10y ago
What is wrong with Yoda conditions? The very name is giving you a hint: they will feel natural only to Yoda. To humans, they will feel as they're written backwards.
317.
▲
by
Ace17
10y ago
> I'm not a C dev, but is "(null != thing)" still a convention? (Based on your comment it sounds like yes) I'd rather call it a trend than a convention.
318.
▲
by
Ace17
10y ago
> Phones ARE computers Computers that need jail-breaking, though.
319.
▲
by
Ace17
10y ago
Parser generators really shine when you're experimenting with a new language, whose syntax isn't stabilized. At this stage, you want to be able to change your grammar nearly for free. You don't want to be trading enhancements
320.
▲
by
Ace17
10y ago
I don't know if this qualifies as "AAA", but the BananaBread demo is a must-see: https://kripken.github.io/BananaBread/wasm-demo/index.html
321.
▲
by
Ace17
10y ago
I've seen lots of unit tests tests trying to reproduce the exact circumstances of a known bug, in an attempt to trigger it, and thus prevent regressions. The problem is, legitimate changes to your production code can make your test go
322.
▲
by
Ace17
10y ago
Each unit test not ending with an assertion is essentially a hack to locally silence your coverage tool, without actually improving the quality of your test suite. I call these tests "crash-tests", as a crash is nearly the only th
323.
▲
by
Ace17
10y ago
In the same vein: prefer duplication over the wrong abstraction ( https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstracti... )
324.
▲
by
Ace17
10y ago
Who said you wouldn't still need to pedal?
325.
▲
by
Ace17
10y ago
Please let's not equate OOP with Java. There are actually OOP proponents like James Coplien and Trygve Reenskaug who think that Java is more "class-oriented" than "object-oriented", making it really hard to do prope
326.
▲
by
Ace17
10y ago
At least one of the prepackaged D compilers of Debian (GDC) can target ARM, and I've tried it, it works!
327.
▲
by
Ace17
10y ago
This is just terminology. The important question here is: "Can your program leak memory?"
328.
▲
by
Ace17
10y ago
"7 minutes, 26 seconds, and the fundamental theorem of Agile Software Development", by JB Rainsberger. It's short and straight to the point. https://vimeo.com/79106557
329.
▲
Types and Tests
(blog.cleancoder.com)
1 points
by
Ace17
10y ago
|
0 comments
330.
▲
by
Ace17
10y ago
What is "impact"?
More ›