@piegames @fasterthanlime Then maybe unused imports shouldn't be an error, at least that's the side I would come down on if I was creating a language
I would rather have a separate utility for my language for cleaning up code formatting and imports and such
@Gottox yes?? Why not?
I think that warnings are useless, cause people end up ignoring warnings if there are a lot of them
So, as a compiler writer you have to pick, is it a problem or not? Go chooses errors, other languages chooses to just ignore, Both choices are ok in my opinion
In go you can also just do the following to get rid of the error:
_ = x
Not quite 30, but Linux today will happily execute a binary compiled 27 years ago (15 Jun 1996)~ ✨
@fasterthanlime one thing I like about Go, if I remember correctly, is that they have a policy against compiler warnings, either it's something you must fix our it's not, and people tend not to fix warnings
"To be fair to C and C++, if you set yourself the goal of crossing an 8-lane freeway blindfolded, it does make sense to focus on doing it as fast as you possibly can." 😬
LB: can I also have nice navigation buttons on my website? 🤔💭
Maybe I should keep it simple for now so I actually focus on publishing my blog, but a girl can dream
Just saw 3 mobility scooters on the bike path on my 10 minute bike ride, including one used by a minor with their guardian walking beside them. There’s lots more to do for disability access but excellent bike infrastructure is an important step
And then for people for whom taxis or private cars are still the best option, guess what! The roads aren’t clogged with a bunch of people going very slowly, being angry with each other, and transporting giant useless hunks of metal everywhere. Unload your wheelchair or mobility scooter near one of the many curb cuts without a huge line of cars honking behind you. Bike-friendly infrastructure is disability-friendly infrastructure; most apparent conflict comes from car-first infrastructure.
Bike-friendly infrastructure goes hand in hand with public transit, which can and should be wheelchair accessible, much more than taxis or private cars. And then e-bikes add a whole class of people who can’t comfortably ride a regular bike but aren’t ready to use a mobility scooter to the group of people who can zip around the city independently. I’ve seen so many disability accommodations on bikes here, even bikes driven by arm power as well as recumbent and tricycle bikes.
Trans woman, bisexual, someone's fiancée, forever a programmer, poly, and former total mess
Avatar by mavica