Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TY
Posts
1
Comments
1,162
Joined
2 yr. ago

  • None of the complexity of GitHub actions would be solved with any other configuration language. It needs to be a full scripting language at minimum. The problems with GHA have nothing to do with yaml.

  • Ruby and Python are both scripting languages and have been since being invented. Static type annotations are a dumb thing to add to a language like Python and Ruby, they’re not static languages. If you want static typing you should be using a different language. The syntax is most definitely not worse, and that’s not an opinion, Python’s for comprehensions are nightmares of readability, and hardly make sense 5 minutes after you write them. Ruby prioritizes readability over everything else.

    Speed is almost exactly the same, with Ruby winning on many benchmarks. The only people saying Python wins are Python programmers. There was a post on the clojure community the other day comparing specific instances and while clojure was winning them all, Ruby was in second on most of them.

    Python only looks better from the outside. I spent years coding in both at the exact same time at the same company. The only two things Python wins on is number of packages, and even that is a dumb metric (looking at you npm), and Click, which is an absolutely fantastic CLI framework.

  • I haven’t heard that in 15 years. The main reason to use Ruby is that it’s a better Python. The tooling is 10x better, it has all the same language features and more, it has easily enough packages to handle any situation you want, and it doesn’t have all the bike shedding that Python has.

    You shouldn’t be writing applications in a scripting language anyway. They’re for scripting, it’s in the name.

  • Permanently Deleted

    Jump
  • Less about grammar and more about using the wrong word due to similarities, like loose vs lose. I think esl speakers in general have great grammar, but it also depends on their main language structure. For example certain root language speakers like Hindi or French tend to have great grammar until something comes up like “are you going to the park?” where they might say “you are going to the park?” Or something like “I am knowing the answer” instead of “I know the answer”. Same with Germanic language speakers with ordering, like “I to the store went”. I honestly don’t see these often, and they’re very easily recognizable as ESL language patterns, which is why I called them out as exempt. Because learning another language is hard. But if you speak English natively there’s no reason you should be misusing “lose vs loose”. They’re not even pronounced the same!

  • Permanently Deleted

    Jump
  • It’s mind numbing. I understand ESL speakers having trouble, and I understand being tired and messing stuff up in comments, but if you’re making a post you should be double and triple checking everything you wrote. It’s ridiculous.

  • Ruby on Rails is the worst thing to ever happen to Ruby. The language is great, much better than Python from a tooling perspective. And then Rails came along and ruined everything. I sincerely believe that the reason Python won out is solely because of Rails, because Ruby is better in every other regard.

  • Windows shortcut is win shift s to take an equivalent of Mac (print screen is not the same thing). But to be clear you’re not really talking about specifics, you’re generalizing. On windows you get a specific list of shortcuts that are only possible with the windows key (and alt if you need to type special characters). And that list is exceedingly small. You need to use something like autohotkey to get others, and I’m not talking about for remapping. I’m talking about simple stuff like “toggle dock hiding on/off” or “adjust the screen brightness” (literally impossible on windows to change this without an external program). On Mac you have hundreds just to start with and then if you want you can jump into AppleScript or Automator which is built in. And if that doesn’t cover it, you use karabiner then. If you don’t like using multiple keys then map caps lock to cmd shift and then you’ve got an even shorter keyboard shortcut than windows.

    You can believe that the defaults are illogical, but you can literally customize any of the default keyboard shortcuts on Mac, while that just isn’t true about windows. And on top of that you have shortcuts available that just aren’t there on windows (I literally chose the first two I saw in the Mac settings and then verified that they weren’t possible on Windows, I’m sure most of them aren’t even possible on windows without an external program).