Stefan Hanenberg

108 posts

Stefan Hanenberg

Stefan Hanenberg

@S_Hanenberg

Researcher from the University of Duisburg-Essen, Germany. Blogging from time to time at https://t.co/70DgsYxAOd

Inscrit le Mayıs 2020
41 Abonnements46 Abonnés
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@evidenceSE Many thanks for posting this. Just for all readers: the experiment is already done. No need to send me your data (but you can send it still, if you want me to do the analysis on your data).
English
0
0
0
14
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@smarr Months ago I had a similar situation (as reviewer, not author) where I wrote the editor about such mismatch. It would help a lot if software journals would start using research standards (CONSORT, APA Jars, etc.).
English
0
0
1
12
Evidence-based SE
Evidence-based SE@evidenceSE·
@S_Hanenberg The 'executed online' link in the paper is broken. Is there an alternative public link?
English
2
0
0
39
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
Paper on indentation with the focus on the difference between indented and non-indented code (Hanenberg, Morzeck, Gruhn, Empirical Software Engineering, Vol 29, No 5). doi.org/10.1007/s10664…
English
1
1
2
74
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@ShriramKMurthi i really cannot do more than just citing the paper. i think "illusion of a variable assignment" is quite a clear statement.
English
1
0
1
38
Shriram Krishnamurthi (primary: Bluesky)
@S_Hanenberg But even that second sentence is wrong: It's a *binding*, not an *assignment*. And most of the rest of the paper just says "imperative", not "impression of", including the part I quoted from the end, where you expect (now that the reader has read everything) the most nuance.
English
1
0
0
41
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
Paper on how simple syntactical changes can have a huge impact. Davulcu, Hanenberg, Werger, Gruhn, "An Empirical Study on the Possible Positive Effect of Imperative Constructs in Declarative Languages: The Case with SQL", ICSoft'23 Preprint: drive.google.com/file/d/1BpA6nS…
English
1
1
4
413
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@ShriramKMurthi I.e., for the semantics of such construct it does not make any difference whether it is a "real variable" or "just an identifier" in the scope of the following statements.
English
1
0
0
25
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@ShriramKMurthi We gave students a construct which looks like a variable assignment. I think it is plausible to call is "SQLAssign". How would you have called it? Keep in mind: the construct appears as a "statement" (where SQL has no loops over statements, recursion, etc.).
English
1
0
0
34
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@ShriramKMurthi Well, the paper says: "Our idea was to give students a different construct that comes (syntactically) closer to the idea of imperative languages. Instead of writing a WITH clause, we give them the illusion of a variable assignment in a style known from languages such as Java, .."
English
1
0
0
53
Shriram Krishnamurthi (primary: Bluesky)
@S_Hanenberg I don't think it does that at all, frankly. It explicitly even says "the present paper also gives evidence that a declarative language could benefit from imperative features". No "impression of being", etc. Very clear assertion. ↵
English
2
0
0
64
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@ShriramKMurthi Correct. I hope the paper makes very explicit that the proposed construct "just gives the impression of being an imperative construct" in terms of sequential evaluation. But, keep in mind that we speak about SQL-queries...
English
1
0
0
54
Shriram Krishnamurthi (primary: Bluesky)
@S_Hanenberg Hi Stefan — I'm very confused by the framing in this paper. Adding a variable binding construct is not the same as "imperative". You say for instance you have added "variables", but these are really "identifiers": there is no mutation shown, and I believe it would be impossible.
English
1
0
0
164
trav
trav@techsavvytravvy·
i keep asking this question: is there any data to support the rules that were put in place to make your code more "readable" or "maintainable"? would love an honest answer
English
125
7
273
108K
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
In case someone collects translations for a "JavaScript to C++ dictionary", here is my contribution: JavaScript: "Failed to load resource: the server responded with a status of 404 (Not Found)" C++: "Segmentation fault"
English
1
0
0
77
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@smarr So, it is more a "well, we have something similar. But it won't do any harm if we still add it".
English
0
0
0
10
Stefan Marr
Stefan Marr@smarr·
@S_Hanenberg for...in was there from the beginning. for...of was introduced in ECMAScript 6 because people really wanted it. So, it's not a "well, why not have both" and both were put in at the same time... #browser_compatibility" target="_blank" rel="nofollow noopener">developer.mozilla.org/en-US/docs/Web…
English
2
0
0
42
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
Seriously. Where isn't there a government organization that stops JavaScript from providing these two constructs with different semantics? for(let v in x) ... for(let v of x) ... How many thousand working hours on this planet were wasted because of this?
English
1
0
2
161
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@smarr The problem is not having a construct that does something different. The problem is, reviewing code is hard in the presence of two letter keywords (that are even similar). Today, I paid 1.5 debugging hours on that. I know both constructs. Still, they look damn similar.
English
1
0
0
17
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@smarr You don't think this design decision is rather the result of "well, why not"?
English
1
0
0
23
Stefan Marr
Stefan Marr@smarr·
@S_Hanenberg Backwards compatibility saved a million hours though... Tradeoffs.
English
1
0
0
101
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
@eventimDE Habe ich getan. Dort sagte man, dass man Ticketpreise exklusive der Gebühren erstattet. Es gibt bereits einen Gerichtsbeschluss über die Unrechtmäßigkeit dieses Vorgehens, und @eventimDE praktizierte es noch immer? Nochmal: 47€ für ein nicht stattgefundenes Ereignis? #eventim
Deutsch
1
0
0
3K
Stefan Hanenberg
Stefan Hanenberg@S_Hanenberg·
Ich habe für eine Veranstaltung, deren Tickets 600€ gekostet haben, die seitens des Veranstalters zurückgezogen wurde, von @eventimDE €553,34 zurücküberwiesen bekommen. Sehe ich es richtig, dass eine Firma für eine nicht stattgefundenes Ereignis 47€ einbehält? #Eventim
Deutsch
1
0
2
3.4K
Stefan Hanenberg retweeté
Will Crichton
Will Crichton@tonofcrates·
Monday Memory Mystery: guess why these assertions hold in Java. (Note that this behavior is *in the language spec*, not an implementation detail of the JVM.)
Will Crichton tweet media
English
59
31
420
147.2K
Daniel Firth (Inspector GADT)
Daniel Firth (Inspector GADT)@locallycompact·
There's this trend where people say "There's no scientific evidence pure fp and static typing produces better results", despite it being true and there being a lot of evidence.
English
15
6
46
25.8K