Post 2378650 by TeddyDD@octodon.social
(DIR) More posts by TeddyDD@octodon.social
(DIR) Post #2377739 by sir@cmpwn.com
2018-12-28T20:39:11Z
2 likes, 0 repeats
Updates to the language-picker script:- Mobile- Embedded- More consideration of lisp- Consider the fat-ass Python runtimeThis is now the canonical source for deciding which language to use.You're welcome.https://git.sr.ht/~sircmpwn/dotfiles/tree/master/bin/language-picker
(DIR) Post #2378191 by doesntgolf@octodon.social
2018-12-28T21:07:59Z
0 likes, 0 repeats
@sir I interpret this as a personal attack on the core of my being.
(DIR) Post #2378377 by TeddyDD@octodon.social
2018-12-28T21:12:29Z
0 likes, 0 repeats
@sir rejecting Lua because of 1 based arrays? I'd understand weak typing, small standard library or verbose syntax but indexing? π
(DIR) Post #2378378 by sir@cmpwn.com
2018-12-28T21:15:11Z
0 likes, 0 repeats
@TeddyDD all of these are problems but 1 based array is a short and convenient signal for language designers who have no fucking clue what they're doing
(DIR) Post #2378379 by kragen@nerdculture.de
2018-12-28T21:19:31Z
0 likes, 0 repeats
@sir @TeddyDD That's just a convention-conformance acid testβββ0-based indices are objectively superior, but only a little bit, and not Pareto superior. The Lua design is pretty excellent in a lot of ways.
(DIR) Post #2378576 by technomancy@icosahedron.website
2018-12-28T21:22:34Z
0 likes, 0 repeats
@sir "Do you need low-level control over data structures?" -> Y -> "do you really?" -> Y -> "then why are you even bothering with a language-picker script; you know what the only answer is"
(DIR) Post #2378650 by TeddyDD@octodon.social
2018-12-28T21:24:12Z
0 likes, 0 repeats
@sir I disagree. Lua is high level so indexing by numer of element instead of offset in memory is justified. I never understood why 1-indexing is so annoying to some people. To each his own I guess :)
(DIR) Post #2378755 by technomancy@icosahedron.website
2018-12-28T21:23:40Z
0 likes, 0 repeats
@TeddyDD @sir rejecting Lua because of 1-based indexing is like rejecting python because of whitespace: it shows you haven't actually tried it because if you had you'd know there are bigger problems to complain about.
(DIR) Post #2378756 by sir@cmpwn.com
2018-12-28T21:25:49Z
0 likes, 0 repeats
@technomancy @TeddyDD I have used Lua quite a bit, but 1-indexing is objectively 100% dumb as fuck, so with that fact alone you can judge that the language designers have their head up their ass and assume the rest is similarly dumb
(DIR) Post #2378933 by charlag@birb.site
2018-12-28T21:40:50Z
0 likes, 0 repeats
@sir this Go-broing and level of argumentation doesn't worth the attention that it brings.
(DIR) Post #2379061 by sir@cmpwn.com
2018-12-28T21:49:51Z
0 likes, 0 repeats
@charlag tell me what you really think
(DIR) Post #2379207 by qqlq@bsd.network
2018-12-28T21:55:08Z
0 likes, 0 repeats
@sir I like C++. It gives me the possibility to abstract without incurring a performance penalty at runtime. The same goes for Rust but I do after that it feels rather volatile.