There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

jimitsoni18 ,

xhr

yogthos ,
@yogthos@lemmy.ml avatar

kebab case for the win xml-http-request

sik0fewl ,

XML-HTTP-request?

Boomkop3 ,

I don’t like to sticking to generalized naming conventions when autofill or intellisense is a thing. Make your names clear in whatever way you think works best, and developers still using vim can set up autocomplete using an extension or something

Kraiden ,

Dear god please no. This way madness lies. Your idea of "whatever you think works best" is not going to line up with whatever the next person that comes along thinks, and your codebase is about to get all kinds of fucked up.

Thinking code complete is going to save you is naive. Even in languages like C and Java, where it works best, you still need to be able to read and understand the code in context. There's no hope in a language like Ruby with all it's meta programming stuff

Boomkop3 ,

I’m not suggesting randomness or inconsistency, I’m saying generalizing is overkill. But you’re right, “whatever works” might be taken too literal by some

You’re absolutely right that depending on your autofill is not a good general approach either. Then again, you shouldn’t be guessing at these either

I’ve worked with changing conventions in different teams. In the end people are not going to come up with some name and whether it’s myOldThing or my_old_thing won’t matter much. Usually I just follow whatever the team I’m working with prefers

Kraiden ,

Yes and no. I agree that camel vs snake or that stupid mNameThing that was popular for a while, doesn't reeeeeaaally matter, although I would argue that convention over the language still has value. As an example, naming a Java variable with a capital letter would be confusing and annoying to any new devs joining the project, even if it's a valid identifier. Also it's handy to be able to look at something in ALL_CAPS and know that it's probably a static final, without having to check it's definition. I guess it's about finding that line between useful conventions and pedantry.

JoYo ,
@JoYo@lemmy.ml avatar

id throw away all of these if they aren’t struct definitions, which they aren’t.

DmMacniel ,

XHR boom. Sue me :)

Alexstarfire ,

OP is dead now. Are you happy?

lord_ryvan ,

Yes!

May OP request in peace

DmMacniel ,

I regret nothing!

faebudo ,

ExtensibleMarkupLanguageHypertextTransferProtocolRequest

dohpaz42 ,
@dohpaz42@lemmy.world avatar

This person Javas…

elvith ,

Wouldn’t that imply the existence of a ExtensibleMarkupLanguageHypertextTransferProtocolRequestFactorySingleton?

IHateReddit ,

And an AbstractExtensibleMarkupLanguageHypertextTransformerProtocolRequestFactorySingletonBuilder!

PoolloverNathan ,

Sadly you can’t build a singleton. AbstractExtensibleMarkupLanguageHypertextTransformerProtocolRequestFactoryBuilder$Companion?

toastal OP ,

80 char line maximum? I read that as minimum. My bad.

abrahambelch ,

AbstractExtensibleMarkupLanguageHypertextTransformerProtocolRequestFactorySingletonBuilderDecoratorDelegationStrategyDispatcher

eager_eagle ,
@eager_eagle@lemmy.world avatar

Doing that with GNU or WINE will use your entire memory

Feathercrown ,

GNU’s Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix Not Unix CORE DUMP: OUT OF MEMORY EXCEPTION

crispy_kilt ,

Needs more AbstractSingletonBeanProxyFactoryDefaultImplementation

toastal OP ,

Acronyms/intialism use capital letters to encode information about words. Losing that information is a mistake. SᴍᴀʟʟCᴀᴘCᴀsᴇ is now considered a best practice.

…Or I dunno try snake_case or kebab-case 🤷

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines