newgame | 7 years ago | on: Lean Testing or Why Unit Tests Are Worse Than You Think
newgame's comments
newgame | 7 years ago | on: Lean Testing or Why Unit Tests Are Worse Than You Think
newgame | 8 years ago | on: Ask HN: What wiki does your team use?
newgame | 9 years ago | on: Ask HN: Who wants to be hired? (February 2017)
Remote: Yes
Willing to relocate: No
Technologies: Web/Frontend (HTML,CSS,JS), TypeScript, React, MobX, Kotlin, Android, Angular2, Java, Some backend experience (Node, Spring)
Résumé/CV: http://stackoverflow.com/story/eugenkiss
Email: [email protected]
Primarily interested in (mobile) UI app engineering position and, to a lesser extent, full-stack position.
newgame | 10 years ago | on: Java 8: Replace traditional for loops with IntStreams
newgame | 10 years ago | on: Java 8: Replace traditional for loops with IntStreams
Just to be clear, that does not make the approaches "incorrect". The list "names" is not necessarily an argument to a method. It might be a local, intermediate result that does not have the risk of "mutation at a distance".
newgame | 10 years ago | on: Java 8: Replace traditional for loops with IntStreams
for (int i = names.size()-1; i >= 0; i--) {
String name = names.get(i);
if (name.startsWith("B")) names.remove(i);
}
Admittedly, needing to use an explicit index counter is not as nice (and more prone to errors) as using the other for syntax. But one could imagine a language with e.g. macros that made the backwards-looping syntax more intuitive (I assume a single-threaded situation and an ArrayList).Your general point still stands though.
newgame | 11 years ago | on: 7GUIs – A Notational Usability Benchmark for GUI Programming
Let me give you some background information. The idea for 7GUIs was born while I was writing my master's thesis Comparison of Object-Oriented and Functional Programming for GUI Development[1]. My advisor and I first agreed to compare Java7/Swing and Clojure/Seesaw. That's the reason why you see these implementations in the repository. Over the course of writing the thesis we changed the scope to compare JavaFX in Java and Scala as well as some novel FRP-inspired frameworks and all that with a GUI _programming_ usability benchmark which I named 7GUIs. I received great input from my expert reviewers, especially Tomas Mikula[2].
Anyway, 7GUIs is work in progress although nowadays I have much less time to work on it (not studying anymore but working). Not all implementations are complete (e.g. Android/Elm) and I'm sure the existing ones can be improved. So I'd be very happy if others would help to extend 7GUIs with more implementations or analyses. I still want to try out other approaches myself and compare them with 7GUIs but again time is limited sadly.
You can find much more information in the thesis[1] if you're interested. I've also written a short overview blog post[3] that deals with Reactive GUI Programming.
[1]: http://www.eugenkiss.com/projects/thesis.pdf
[2]: http://tomasmikula.github.io/blog/
[3]: http://www.eugenkiss.com/b/overview-of-reactive-gui-programm...
newgame | 11 years ago | on: Ceylon 1.1.0 is now available
FYI, Kotlin will have the same behavior as Ceylon in the future, i.e. it's going to be a runtime error in the first case: http://blog.jetbrains.com/kotlin/2014/10/making-platform-int...
newgame | 11 years ago | on: Android development has its own Swift
It shares many features with Xtend but offers more. It has the opposite "problem" wrt IDE support though: Great IDEA support but no Eclipse support.
newgame | 11 years ago | on: An Introduction to Reactive Programming
There are some nice papers that give an overview of the FRP landscape.
“A Survey on Reactive Programming”: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.416...
“Towards Reactive Programming for Object-oriented Applications”: http://www.guidosalvaneschi.com/attachments/papers/2014_Towa...
newgame | 11 years ago | on: An Introduction to Reactive Programming
[0]: https://github.com/TomasMikula/ReactFX
[1]: http://tomasmikula.github.io/blog/
[2]: http://tomasmikula.github.io/blog/2014/04/25/combining-react...
If you are confused by the term FRP and its different interpretations, I tried to summarize them in a stackoverflow answer: http://stackoverflow.com/questions/22795062/is-it-possible-t...
newgame | 12 years ago | on: Deconstructing Functional Programming [video]
He pointed out that a more nominal type system is a solution. Because when you give meaningful names to your types the error messages will become clearer and not full of long, inferred types that reveal potentially confusing or unimportant implementation details.
newgame | 12 years ago | on: Golang Object Oriented Design
The "dot-autocompletion" has a pretty good usability in my opinion. You write down the name of the variable, enter a dot and you get a filtered list of methods that "make sense" to call on the receiver (key word: discoverability of the API).
How exactly would one implement the trigger with multimethods? I think this is an important consideration to make from a usability standpoint.
newgame | 12 years ago | on: What's happening in Go tip
newgame | 15 years ago | on: Is NodeJS Wrong?
Here's an excerpt of a blog post (http://blog.mozilla.com/dherman/2011/01/30/proper-tail-calls...) from a research engineer at Mozilla Labs who works on the new ECMAScript standard:
>Having an officially guaranteed tail call mechanism
>makes it possible to compile control constructs like
>continuations, coroutines, threads, and actors. And,
>of course, it’s useful for compiling source languages
>with tail calls!
Of course, it is a long way to go until one is able to use these features. So, for now, you are better off to look somewhere else for your specific needs.newgame | 15 years ago | on: Löve 0.7.1 (lua game framework) is released
http://love2d.org/forums/viewtopic.php?f=4&t=2409
Seems to be somehow possible to get it working. It is not officially supported, though. I guess as luajit matures there is a decent possibility that it will be a supported option since games (even 2d) would benefit from the increased speed. OTOH portability of love2d would probably be decreased, too.
newgame | 15 years ago | on: Soywiki: a wiki built on top of Vim and Git.
newgame | 15 years ago | on: The Python Paradox
Purely looking at the language resp. the consistency of the design I would even say that Lua is more beautiful than Python even though Lua has its share of warts. Note that this does not say anything about which language is easier to use in practice (which is Python imho).
But that aside, I think it is important to mention that comparing Lua and Python is a bit like comparing apples to oranges as they pursue different philosophies. Lua gives you just as much as you need but no more. This is the reason why it is so flexible and suited for embedding. Python, on the other hand, is a full blown general purpose programming language with a huge community/ecosystem.
newgame | 15 years ago | on: Apple iPad rival HP Slate sees demand fizzle at 9,000 units
Though I'd like to think that I presented clear arguments even though I didn't present _empirical_ evidence for my arguments. I presented ideas and logical steps how to arrive at them. Which, to me, makes it more than "just an opinion". Sure, you may disagree with the ideas and or the steps–it's not a mathematical proof, it's much softer. Sidenote: Nonetheless, I provided two links to empirical research finding counterintuitive results from TDD and from unit tests.
Clarification: I am not engaging in a strawman. I didn't claim that _you_ said these are the only dimensions. I tried to express, generally, that software quality is one of several important dimensions. I could have phrased it in a clearer way.