Comment on
Le torture
Reply in thread
You poor soul.
clicks scrollbar with mouse and drags it, instead of using the scroll wheel
Comment on
Le torture
Reply in thread
You poor soul.
clicks scrollbar with mouse and drags it, instead of using the scroll wheel
Comment on
You can have anything you wan...
Reply in thread
Sounds like they are the product owner :)
Comment on
I code with fear
With physics, but paused while coding. It only comes crashing down when the code gets executed.
Comment on
It's quite sad to see everything related to the blackout on /r/programming wiped.
Reply in thread
The solution is obviously to replace the mods by bots, to fight other bots.
Battle bots, but virtual XD
Comment on
Most and Least Verbose Programming Languages
Reply in thread
import codegolf
codegolf.challenge1()
Comment on
unrolling loops is efficient, right?
300 nested if statements, (...) added another 5000 nested if statements.
At this point I want to doubt that they actually wrote it themselves, vs writing a metaprogram to generate the code.
Comment on
The Perfect Solution
Reply in thread
We can add caching so numbers that have been checked once can be quickly looked up from an inMemory database.
Comment on
Most and Least Verbose Programming Languages
Reply in thread
Assembly would be lower. You have more complex / direct instructions in assembly. Brain fuck is pretty much just a pure turing machine, and has 8 instructions.
X86 has ~ 1000 + variants. Even ARM with a smaller instruction set has 232 instructions.
In brain fuck to set a number you'd have to count up (or down - underflow) to that number. In assembly you just set it.
Somewhere I've read that current assembly code with Makros should be similar to writing C.
Comment on
Review Please
Reply in thread
Make those changes in an own commit, or keep it to files you already have to touch.
Comment on
When your language doesn't allow arbitrary expressions in format strings
Reply in thread
Creating an array of the function calls, and joining those seems more readable in that case.
Plus you don't have to take care that you use the correct number of placeholders.
Comment on
More the merrier
Reply in thread
"too many comments".
Comment on
LPT: ChatGPT is incredible for generating and evaluating regex
Reply in thread
That's the problem. It will confidently give you an correct sounding answer.
If it is actually true is a different topic. So don't just blindly trust it. Verify, or at least sanity check it.
Comment on
SlashData: Rust sees fastest growth, JavaScript still dominates
Reply in thread
thanks to wasm any language is a browser running language.
Theoretically yes, practically you may have to deliver a whole runtime depending on the languagey making websites even bigger and slower to load initially. And unless it's a webapp with data processing on the client the perceived performance benefits may be negligible.
Comment on
How to conduct a software audit?
Reply in thread
Maybe they see OP as the best candidate for an audit or code review, who has good enough skills, has time available, and is an internal resource
Comment on
Stop nesting ternaries in JavaScript
Reply in thread
pleasure of refactoring this mess took half an hour to understand
If you can use any of the jetBrains IDE it can rewrite it to if/else with a few clicks (or [alt] +[return])
Comment on
Monitor Alignment Alignment Chart
Tilted 22 degree to maximize the potential line length that can be displayed.
https://gigazine.net/gsc_news/en/20211203-ideal-monitor-rotation-for-programmers/
Comment on
Which TLD if you can't get a .COM?
Reply in thread
Maybe not straight...
Comment on
[Toggl Good Squad] IT Jobs explained with a broken lightbulb
Why is marketing telling that dark is the new light? They can't sell anything that way.
You should upgrade to a WLAN AI powered IOT SMART RGB LED you can control with their smartphone app from anywhere in the world.
Apparantly being a full stack dev now includes fixing marketing too...
Comment on
Most and Least Verbose Programming Languages
Reply in thread
Maybe also bias by the number / experience of people using it.
1st semester students getting shocked by public static void main(String args) and meming it on the internet.
Go on the other hand likely isn't a common choice / option for a first language.
Comment on
What are some common misconceptions about programming that you'd like to debunk?
Reply in thread
Why are you in programming related communities if you don't enjoy it?