Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

coloredgrayscale, to programmer_humor in This one goes out to the sysadmins in the crowd.

There’s more than just hardware and power cost to servers.

Primarily cost of employees taking care of the servers.

coloredgrayscale, to programming in Most and Least Verbose Programming Languages

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.

coloredgrayscale, to programming in Most and Least Verbose Programming Languages

<span style="color:#323232;">import codegolf
</span><span style="color:#323232;">codegolf.challenge1() 
</span>
coloredgrayscale, to programming in Most and Least Verbose Programming Languages

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.

coloredgrayscale, to programming in How do you handle language files?

Usually a translation system might return the key value if the translation is missing. By translating with “untranslated” as a default you’d get just that text filled as fallback.

Unless you reinvent the wheel for lookup and can just ignore your magic value, or put an if on every value lookup.

Might be a risk there.

coloredgrayscale, to programmer_humor in More the merrier

If they need it often it makes some sense, if it also perform some checks, if the list if empty or None/null.

coloredgrayscale, to programmer_humor in More the merrier

What if I pass an empty list, or NoneType?

coloredgrayscale, to programmer_humor in More the merrier

If someone changes the code and forgets to modify the comment, the reader might favor one or another at random.

Hence why you should comment why, not how/what.

// slow down traffic before crossing busy main road

Now you can change the stop sign to a yield without touching the comment. Or judge that the comment can be removed if it’s clear the main road does no longer exist.

coloredgrayscale, to programmer_humor in More the merrier

They meant self obfuscating.

Can someone transcribe this text please?

coloredgrayscale, to programmer_humor in More the merrier

Adding the fourth, ultimate escape to it.

coloredgrayscale, to programmer_humor in More the merrier

Sounds like a good use of comments. Explain why, not how. (that should be readable from the code for the most part. Unless you’re having function calls like xmmmuldp (simd) )

coloredgrayscale, to programmer_humor in More the merrier

“too many comments”.

coloredgrayscale, to programming in is it ethical to use third party libraries and other stuff in my portfolio website?

but then why would they ask candidates to write functions like binary tree traversal from scratch during interviews? /s

coloredgrayscale, to programming in 5 Things I’ve Learned in 20 Years of Programming

Seems fitting for points 1 and 2 XD

coloredgrayscale, to programmer_humor in Some people just can't pace themselves

Don’t let yourself down because you don’t know the syntax off the top of your head.

Even after 15 years of programming, and studying computer science, I would have to look up how to write loops, conditions, variable assignments in bash / sh / batch.

Coming to python from a primarily java focus background wasn’t any different. I knew what steps the program should do, but had to look up how to translate it into whatever language. And for further improvements what features the language has to express the things “in the style of the language”

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines