I've heard similar from the worst first year CS students you could ever meet. People talk out their ass without the experience to back up their observations constantly. The indentation thing is a reasonable heuristic that states you are adding too much complexity at specific points in your code that suggests you should isolate core pieces of logic into discrete functions. And while that's broadly reasonable, this often has the downside of you producing code that has a lot of very small, very specific functions that are only ever invoked by other very small, very specific functions. It doesn't make your code easier to read or understand and it arguably leads to scenarios in which your code becomes very disorganized and needlessly opaque purely because you didn't want additional indentation in order to meet some kind of arbitrary formatting guideline you set for yourself. This is something that happens in any language but some languages are more susceptible to it than others. PEP8's line length limit is treated like biblical edict by your more insufferable python developers.
Another senior dev here, one of those weirdos who likes light mode. Sometimes. VS Code’s light mode is blinding to me, and I never use it. But Nova’s is beautiful and I prefer it. It depends how well the app renders fonts and colors. The oversaturated colors used in most apps are a big problem.
VSCode has theme support; there are light themes, that are not so bright and dark themes that aren't that dark.
I prefer a very dark gray, a very good font (Iosevka, tuned to my needs) and an appropiate font size (because wearing glasses).
I hope, I never get this senior title. It is complete BS to me. And I am glad, that my junior status is gone for good and I have a job title that does not try to tell something about my expierience!
Senior dev here, and dark theme is the best, really, how could we used white as shit screens/IDE before is beyond me. Everything is dark theme here. Using dual 27" 4K (in Linux, using 120DPI for fonts), lot of spaces, readable, smooth fonts
I live in a mid rise apartment with big beautiful windows, and light mode is easier to read in a bright ass room. And I don’t need to deprive myself of sunlight be working in a pitch black basement office, I’m depressed enough as it is.
Just explaining my situation, in a mid-lit room I could go either way. Dark room -> dark mode
If you're not using tz_database or equivalents for literally all date-time logic, if 24 or 60*60 are constants defined in your project... you're doing it fucking wrong. I don't know how many times we need to break out the idiot club, but date, time and timezones are extremely complicated - unless your business is primarily concerned with them you must use a library or service.
From my very basic understanding, yeah that's basically what it does. However it accounts for a whole lot more into adding or subtracting from UTC. Timezones aren't absolute, they're political. Timezones have weird rules, and history that needs to be somehow expressed in the code to get the right time. That's what's sets tz_database apart from just looking at a map and saying it's +7 UTC.
I like returning 418 instead of 404 or 403 on the files the script kiddies are hunting for on my web servers. I'm sure it does nothing but I'd like to think I've wasted some of their time at least once.
420 is still avalable. Not sure what you would put there ("Server too high?") and given the controversy over 418 I think its best to leave that one blank instead of making a weed joke.
This posts entire comment chain is an interesting example of people that have extensive knowledge in completely different areas of programming to me. And have some concepts I had never heard/thought of.
Even worse when you have a bug and you cant stop trying to find it and fix it. I often have the feeling that if I stop now, I lose the entire context of what I'm doing and it's just so hard to get started again the next day.
I prefer to dig in until I find it, even when tired and hungry.
A QA tester walks into a bar,
orders a beer,
orders 2 beers,
orders 0 beers,
orders 4294967296 beers,
orders -1/12 beers,
orders HGdIhFNPiHPWUDmUfWIFi beers,
orders a zebra
First real customer walks in,
asks where the bathroom is,
the whole bar catches on fire
Programmer Humor
Active
This magazine is not receiving updates (last activity 54 day(s) ago).