×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Atelier 801
  • /
  • Hors-sujet
  • /
  • Programming
« ‹ 2 / 9 › »
Programming
Fxie
« Citoyen »
1359827160000
    • Fxie#0000
    • Profil
    • Derniers messages
    • Tribu
#21
  0
Rype a dit :
So many pro coders in here

don't you wish you were one
Fxie
« Citoyen »
1359827160000
    • Fxie#0000
    • Profil
    • Derniers messages
    • Tribu
#22
  0
Methusalah a dit :
looks like code blocks for me

She's referring to the text editor
Todorovski
« Citoyen »
1359828600000
    • Todorovski#0000
    • Profil
    • Derniers messages
    • Tribu
#23
  0
Haruhitastic a dit :
Todo is that Notepad++ or Geany?

It is Code::Blocks.

Also Fxie, what is your game about? :o
Hotaru
« Censeur »
1359828600000
    • Hotaru#0095
    • Profil
    • Derniers messages
    • Tribu
#24
  0
Todorovski a dit :
It is Code::Blocks.

Fxie a dit :
She's referring to the text editor

Ok.
Cptp
« Citoyen »
1359828840000
    • Cptp#0095
    • Profil
    • Derniers messages
    • Tribu
#25
  0
My editor of choice is six. Fxie pls format your code better it's too hard to read.
Boreeas
« Citoyen »
1359829740000
    • Boreeas#0000
    • Profil
    • Derniers messages
#26
  0
cat & sed is best editor
Fxie
« Citoyen »
1359830640000
    • Fxie#0000
    • Profil
    • Derniers messages
    • Tribu
#27
  0
Todorovski a dit :
It is Code::Blocks.

Methusalah a dit :
Ok.

I never heard of that editor and we all know how most people who don't know about programming make posts like that. No need to quote it again, esp. since you didn't quite write the name right for me to be able to assume it was an editor I hadn't heard of anyway.

Cptp a dit :
My editor of choice is six. Fxie pls format your code better it's too hard to read.

Provide an example of what you consider better formatting
Todorovski
« Citoyen »
1359830880000
    • Todorovski#0000
    • Profil
    • Derniers messages
    • Tribu
#28
  0
Fxie a dit :
I never heard of that editor and we all know how most people who don't know about programming make posts like that. No need to quote it again, esp. since you didn't quite wright the name right for me to be able to assume it was an editor I hadn't heard of anyway.

You don't know about Code::Blocks?
Well, it is a C++ editor + compiler, where you can make console applications etc. I prefer Notepad++ too, but I don't know how to run a program. :C
Also, are there any "Offline" javascript compilers?
Baasbase
« Citoyen »
1359830880000
    • Baasbase#0095
    • Profil
    • Derniers messages
#29
  0
Does anyone see what I did here?


http://i.imgur.com/LWEfIy9.png
Also why doesn't anybody use decent IDE's anymore?
I use IntelliJ for most projects, ironically enough this image was taken in netbeans though.
Arber
« Citoyen »
1359831120000
    • Arber#0000
    • Profil
    • Derniers messages
    • Tribu
#30
  0
Baasbase a dit :
Does anyone see what I did here?

string x2 x1 xml " static xml if for BLALBLABLA
how the hell ._.
Cptp
« Citoyen »
1359831240000
    • Cptp#0095
    • Profil
    • Derniers messages
    • Tribu
#31
  0
Fxie a dit :
Provide an example of what you consider better formatting

Something with whitespace and semicolons that didn't require horizontal scrolling to start with.
Fxie
« Citoyen »
1359831240000
    • Fxie#0000
    • Profil
    • Derniers messages
    • Tribu
#32
  0
Todorovski a dit :
You don't know about Code::Blocks?
Well, it is a C++ editor + compiler, where you can make console applications etc. I prefer Notepad++ too, but I don't know how to run a program. :C
Also, are there any "Offline" javascript compilers?

No. Why the hell would I know about a compiler for a language I don't use?

And I don't know how "offline" javascript applications work, I do everything for the browser. A guy I know from dAmn made a js bot that was separate from the browser though, but I don't do that stuff.

Cptp a dit :
Something with whitespace and semicolons that didn't require horizontal scrolling to start with.

Semicolons aren't required in javascript, why would I clutter my code with them? Adding unnecessary bits to the end of each line doesn't sound better in any aspect to me.

Also, I like to keep things consistent. I don't break single function calls into lines unless an argument is an object, in which case I break objects into lines for each property. But for single arguments, I'm not going to have one function broken into lines and every other one not.

Furthermore, when you write more extensive code, you get to the point where there are so many indentions you have to scroll. You can't just define a function outside of a scope all willy-nilly, because it won't use temporary variables only defined within the scope of the original function.

I also don't like adding spaces personally because they aren't needed. Waste of space to me, I don't see how that affects readability though since it's just adding more clutter.


Depending on what you're writing, you'll find you have more code or less code. Let me see you remove that "require horizontal scrolling." This isn't a small project where everything is pretty and simple because the outcome itself is small and simple.
Todorovski
« Citoyen »
1359831540000
    • Todorovski#0000
    • Profil
    • Derniers messages
    • Tribu
#33
  0
Fxie a dit :
No. Why the hell would I know about a compiler for a language I don't use?

Oh I see. You should tell that earlier. :p

Baasbase a dit :
Does anyone see what I did here?


Also why doesn't anybody use decent IDE's anymore?
I use IntelliJ for most projects, ironically enough this image was taken in netbeans though.

Looks like a TFM map XML. :x
What is it supposed to be?
Baasbase
« Citoyen »
1359831540000
    • Baasbase#0095
    • Profil
    • Derniers messages
#34
  0
Welp I approve of this thread


http://i.imgur.com/RKDswuI.png
Useless excercise i did for school, see if you can figure out what this does
Fxie
« Citoyen »
1359831540000
    • Fxie#0000
    • Profil
    • Derniers messages
    • Tribu
#35
  0
Todorovski a dit :
Oh I see. You should tell that earlier. :p

Fxie a dit :
i javascript
Jhnaln
« Citoyen »
1359831660000
    • Jhnaln#0000
    • Profil
    • Derniers messages
    • Tribu
#36
  0
Baasbase a dit :
Welp I approve of this thread


Useless excercise i did for school, see if you can figure out what this does

Does it do magic tricks?
Todorovski
« Citoyen »
1359831660000
    • Todorovski#0000
    • Profil
    • Derniers messages
    • Tribu
#37
  0
Jhnaln a dit :
Does it do magic tricks?

Yes it will make your computer disappear
Hotaru
« Censeur »
1359831780000
    • Hotaru#0095
    • Profil
    • Derniers messages
    • Tribu
#38
  0
Baasbase a dit :
Useless excercise i did for school, see if you can figure out what this does

o that command is really printing?
btw why "i+1" instead of "i++"
Cptp
« Citoyen »
1359831780000
    • Cptp#0095
    • Profil
    • Derniers messages
    • Tribu
#39
  0
Fxie a dit :
Semicolons aren't required in javascript, why would I clutter my code with them? Adding unnecessary bits to the end of each line doesn't sound better in any aspect to me.

JS implicitly inserts semicolons if you don't use them. JS doesn't always get it right, and it can lead to obscure and hard to find bugs. May as well write it properly the first time.
Fxie
« Citoyen »
1359831780000
    • Fxie#0000
    • Profil
    • Derniers messages
    • Tribu
#40
  0
Methusalah a dit :
o that command is really printing?
btw why "i+1" instead of "i++"

i++ increments i, i+1 returns i+1

If he doesn't want to increment i, he has to just use i+1
  • Forums
  • /
  • Atelier 801
  • /
  • Hors-sujet
  • /
  • Programming
« ‹ 2 / 9 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27