|
We have to because we're coding in javascript/react...
I really enjoy it when the vscode debugger randomly creates a breakpoint in one of the bundle files or randomly deletes a breakpoint on its own, or when you paste code into a file, it automatically scrolls you to the bottom of that file (a true pain when that file is thousands of lines long, or when code thinks there's an error when it obviously isn't but the crappy intellisense simply hasn't caught up with your typing...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
All I can say about VS Code is that when it was first introduced, I was rather excited to see a decent "plain" code editor from MS that could load in roughly the same amount of time as Notepad (definitely quicker than Visual Studio itself) when all I needed was to just take a quick look at some source with something that has at least a little bit of intelligence (enough to understand the syntax).
Then they quickly proceeded to throw in everything but the kitchen sink, and it rapidly lost the ability to load quickly. It's still quicker than the full-blown Visual Studio, but it's now slow enough I can't say it serves that purpose anymore...
|
|
|
|
|
Notepad++ is my favourite quick editor.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Maybe you should ditch a few extensions you don't really need. On my system (aged 4+ yrs) it starts up and loads my main project in about 2-3 seconds.
|
|
|
|
|
This message has been flagged as potential spam and is awaiting moderation
|
|
|
|
|
π all
Do you find yourself in a PR battle where you discuss if you should use const or const ref, or otherwise discuss why you use using to reduce the name of certain types, I can get so frustrated sometimes when I develop a feature or new code, I have it tested and all work and then you have this colleague who wants everything to be how he or she is seeing it and in the end it doesnβt matter as you spent more time discussing or changing it for their joy, code wise it would end up as the same code for the compiler.
|
|
|
|
|
dbstudio wrote: the same code for the compiler
The best possible code review result. No reason to worry.
|
|
|
|
|
That's one of the reasons I don't miss working on dev teams.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
"Too many cooks spoil the broth!" Sometimes, this is the case with some projects.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
dbstudio wrote: or otherwise discuss why you use using to reduce the name of certain types
What I can say for sure is a concise code is much more readable and that's why if there are several references made to get to a certain type then it's good to use usings.
If I had a dev who wasn't convinced with this reason alone, I'd do it myself.
|
|
|
|
|
GKP1992 wrote: concise code is much more readable
My code may not be concise in the same way yours is.
|
|
|
|
|
It's not about what it looks like to the compiler - it's about what it looks like to the *team*.
The cure is to establish reasonably rigid coding standards, and make sure everyone adheres to them.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I strongly believe that it should be less rigid and more flexible and who donβt want to have a const signature if you are not changing the value, I feel the itβs more due to the fact of junior developers fresh out of school believing we are building a kernel or cathedral if you wish.
|
|
|
|
|
Nope the standards should be quite rigid, the senior developer setting the standards should be open to new ideas and concepts with a willingness to implement them. Junior and new hires (and everyone else) should be encouraged to put forward suggestions.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Either you have coding guidelines or you do not.
We have guidelines, they dates from the 80s and 90s (seriously).
The mantra has been don't change anything. (even crazy bad tab/spaces everywhere)
But...
When I go in a file to do work in it, I clean it up and bring it to more modern best practices as much as the underlying code allows me to do.
I wish I could go deeper, but time and money are not infinite.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Wordle 1,083 3/6*
β¬🟩β¬β¬🟨
β¬🟩🟨🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,083 3/6
β¬π©β¬β¬π¨
β¬π©β¬π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,083 4/6*
β¬π¨β¬β¬π¨
π¨β¬β¬π©π©
β¬β¬π¨π©π©
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,083 3/6
β¬β¬β¬π¨π¨
π¨β¬β¬π©π©
π©π©π©π©π©
|
|
|
|
|
β¬π¨β¬β¬π¨
β¬β¬β¬β¬β¬
β¬π¨π¨β¬β¬
π©β¬β¬π©π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,083 4/6*
β¬β¬β¬π¨π¨
π©β¬π¨π¨β¬
π©β¬π¨π©π¨
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,083 4/6
β¬β¬β¬π©β¬
β¬β¬β¬π©π©
β¬π©π¨π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,083 6/6
π¨β¬β¬β¬β¬
β¬π¨π¨β¬β¬
β¬β¬β¬β¬β¬
π¨π¨π¨β¬β¬
β¬π¨β¬π©β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 1,083 4/6
β¬β¬β¬β¬π¨
π¨π¨β¬π©β¬
β¬π©β¬π©π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
This might be interesting.
Background
I'm learning RISC-V assembly and I've written an article (here on CP) on how to run a RISC-V-based version of Debian via QEMU on your machine.
You can run QEMU on Windows, Mac or Linux and then emulate the RISC-V-based Debian on any of those systems. QEMU emualtion is fairly lightweight and very cool. The android emulator, for example, runs via QEMU.
It's a nice easy (safe) way to learn RISC-V Assembly.
The Main Story
I was thinking about how I'd also like to learn x86_64 Assembly on Windows because of this book, The Art of 64-Bit Assembly, Volume 1: x86-64 Machine Organization and Programming[^]
I'm on a Mac right now and I'm normally on a desktop running Ubuntu 22.04.4.
I started thinking, "Hey, can I emulate Windows / DOS in QEMU so I can run MASM and learn Assembly there?"
Nope! Not really.
I know I can run Windows via VirtualBox but wow, that is interesting that Microsoft OS is such a huge bloatware that you can't really run just a "command-line version" of it.
There are so many options with Linux that it really is amazing.
Also, I know I shouldn't even have thought of doing this bec "it's windows, after all", but just thought it was an interesting point that displays how different Windows v Linux really is.
EDIT UPDATE
And, of course, I can always learn x86_64 assembly on the Linux side and one of my top-5 all-time favorite authors updated his book on it recently: x64 Assembly Language Step-by-Step: Programming with Linux [^]
|
|
|
|