Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:German code comments (Score 2) 238

7 years ago, when the project started, we were focusing on Latin America community (spanish speakers can read portuguese and vice versa), so I decided to code in portuguese. Only a few people from Brasil decided to contribute to the project since then, so I guess the language choice actually helped those contributors.

Not that this choice doesn't look strange; we code in CakePHP, which is based on RoR, that specify that model names are plural, table names are singular, or whatever. We turn the pluralization off, as the english rules applied to portuguese words makes a mess. And writing a Inflector for portuguese really seems a huge work.

Also, we are required to append suffixes in english to some classes names; we end up with classes named like "AmostraController", "ProjetoComponent". Which in fact is Ok, as here in Brasil we use english jargon. People from Portugal would think it's bizarre, I guess.

Comment Re:German code comments (Score 4, Insightful) 238

My team code (variables, class and method names) and comment in portuguese. I found that not many programmers down here really know english, so our first attempts with english commentary yielded crappy, useless, unreadable comments. Even comments in our native language sometimes can be confusing, so I think that adding a extra layer of noise wouldn't do it.

Comment Re:READ THE MANUAL FFS (Score 1) 372

there were in the 80's. or if you like procedural programming. I'd rather embed code on data structures, not schemas, and have a much more flexible, maintainable software design.

not to mention, if you have a web application, the what's the point of having business rules in two places? Ok, you implemented ALL business rules in the DB? great, so go get version control for that, or reuse code.

Comment Re:Good alternative: Citavi (Score 1) 87

Mind if I list some useful stuff that made me use mendeley instead of bibtex:

1) it can export the whole library as bibtex

2) right click over your paper -> "copy citation as tex" -> paste it into your latex file.

3) keep the PDF together with the metadata

4) anotate the PDF

5) search those annotations

6) put DOI, PMID, ARXIVID -> get all metadata from the interwebs

7) organize it with keywords, collections

I can't believe it's better to keep a text file edited by hand than to use an user interface that automates several things. "Better", at least, in the saving-time-and-not-getting-mad sense.

Comment Re:Please define "gimmick" and "edge cases" (Score 1) 320

The "3D" in "3D TV" and the "3D" in WebGL are two different things. WebGL just defines a way to project 3D geometry into a display plane. This display plane may or may not be presented with binocular separation, which is what the "3D" in "3D TV" and "Nintendo 3DS" means.

That was the most useful comment of all till now. Please, mod it up!

Slashdot Top Deals

A penny saved is a penny to squander. -- Ambrose Bierce

Working...