• 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • Estimated total cost of decommissioning in the UK is £120bn.

    That’s for way more than just one plant, and there’s a lot more going on that resulted in such a high price tag. That isn’t normal.

    The nuclear waste storage facility cost 53bn to build, let alone run

    It’s a reinforced hole in the ground, designed to last a long, long time after humans forget it exists. Of course it cost money to build, but now it’s just there. It doesn’t cost anything for it to continue to exist. Maybe there’s a little security or staff for some purpose, but I don’t know what they would even do.




  • Just to be helpful:

    • Alt+Shift+Up/Down to duplicate a line (IIRC on Linux this defaults to something more complicated and it’s dumb so I changed it to match Windows and OS X)
    • Ctrl+D to create multiple cursors
    • Ctrl+Space to open autocomplete
    • Ctrl+Period to open the little lightbulb menu that sometimes appears next to your cursor
    • Ctrl+Shift+P to search for commands, so you don’t need to remember any other shortcuts

    Honestly that’s about all of the shortcuts I use. The Ctrl+Shift+P menu will show you the keyboard shortcut next to the command, if it has one, so you can easily memorize it if you use a command often.


  • The problem is refactoring. Want to rename a method? If the name isn’t unique enough to search for, you can’t do it. There’s too much risk that you’ll miss things and create severe bugs. Of course, that can be solved with really thorough unit tests, to some extent. But then you’re just spending a lot of extra time writing tests for things that typescript will enforce automatically.

    You also get much better autocomplete from the editor with typescript, which speeds up development a lot. You save a pretty huge amount of time if you don’t have to constantly look through documentation or even dig through a bunch of code to figure out what methods are available and how to use them.