正在加载视频...

视频加载失败

Tired of unorganized code and 100+ VS Visual Studio Code tabs? Here's my secret 👀 #WhiteboardTheWeb edition 76

146,411 次观看 • 3 年前 •via X (Twitter)

11 条评论

lasan bajrasandi 的头像
lasan bajrasandi3 年前

@code So we just move from 20+ tabs to 2k lines 😄

Ben Holmes 的头像
Ben Holmes3 年前

@code Something something "abstraction is just moving complexity around" 😅 Seriously, I recommend this for the speed of iterating and refactoring above all. Hopping across hundreds of files (and renaming) is much harder than a "replace all" that VS Code can map out for you

DeskBoard Buddy 的头像
DeskBoard Buddy1 年前

DeskBoard Buddy is the ultimate sticky note replacement tool. Stay productive during your work day by keeping your to-do list in front of you on the DeskBoard Buddy’s glass whiteboard surface. It's also perfect for jotting down notes or ideas during meetings and phone calls.

Bao Huynh 的头像
Bao Huynh3 年前

@code AHA programming spirit! Put things in one file until it becomes unmanageable then break. I used to find the *perfect* project structure, now I let the structure develops over time. Though for projects you already know the big scope, some kind of folder structure would benefit.

Ben Holmes 的头像
Ben Holmes3 年前

@bhuynhtweet @code Yesss I've looked to @dan_abramov's wet codebase talk for this. Some spare notes here!

toddmorey 的头像
toddmorey3 年前

@code I keep the entire project in one file using GOTOs...

Stefan Meyer 的头像
Stefan Meyer3 年前

@code For smaller projects, this is perfect 🦾 As projects grow, it’ll take you ages to break it all out of the mess you have created 😂

zen 的头像
zen3 年前

@code i still don't get the one/many file debate... aren't we all using editors that make it easy to get to the implementing file?

Mario - Unbiased.Dev 的头像
Mario - Unbiased.Dev3 年前

@code This is something I struggle with when I read open source code. You go in, and see a plethora of folders, lib, bin, utils, misc... and the index is just re-exporting everything. You start following the import paths and realize 90% of these files have a single function [1/2]

John Eatmon 的头像
John Eatmon3 年前

@code ONE neat trick, React devs HATE him

Luke Shafer 的头像
Luke Shafer3 年前

@code Multiple components per file is why I’ve moved away from Svelte toward Solid! I love it as a pattern for organizing, and for controlling what does and doesn’t get exported

相关视频