CHANGSTAR: Audiophile Headphone Reviews and Early 90s Style BBS

  • December 31, 2015, 12:52:12 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 4

Author Topic: Learning C#, Tips?  (Read 1000 times)

0 Members and 1 Guest are viewing this topic.

Deep Funk

  • Sure is fond of ellipses...
  • Able Bodied Sailor
  • Pirate
  • ***
  • Brownie Points: +111/-3
  • Offline Offline
  • Posts: 2344
  • Born in 1988, eclectic 90-ties!
    • Radjahs2cents
Learning C#, Tips?
« on: May 18, 2015, 04:05:39 PM »

Buenos Días Piratas!

Recently I seriously started learning code. I started with HTML and CSS and now I am adding Javascript and C#. I enjoy the first three.

Thing is, I find C# fucking annoying. It is like writing a text message but the texting software keeps interfering with the writing. Compared to Javascript I find C# rigid. It reminds me of the "soup nazi" from Seinfeld, "no soup for you!"

Please do not direct me to the Microsoft tutorial, there are better videos on Youtube.

Do you have tips or experience?
Logged
Few things keep me sane: my loved ones, my music and my hobbies. Few is almost an understatement here...

Tari

  • Poet Laureate of Changstaria
  • Mate
  • Pirate
  • ****
  • Brownie Points: +245/-1
  • Offline Offline
  • Posts: 854
  • Is tari a wizard
Re: Learning C#, Tips?
« Reply #1 on: May 18, 2015, 04:20:36 PM »


I'll give you a hint.  C# is code for D.
Logged

ultrabike

  • Burritous Supremus (and Mexican Ewok)
  • Master
  • Pirate
  • *****
  • Brownie Points: +4226/-2
  • Offline Offline
  • Posts: 2384
  • I consider myself "normal"
Re: Learning C#, Tips?
« Reply #2 on: May 18, 2015, 04:22:58 PM »

I'm half ass learning it too. I'm more help in C++.
Logged

lm4der

  • Able Bodied Sailor
  • Pirate
  • ***
  • Brownie Points: +24/-9
  • Online Online
  • Posts: 222
Re: Learning C#, Tips?
« Reply #3 on: May 18, 2015, 04:25:21 PM »

c# certainly is rigid compared to javascript.  I can understand finding that annoying.  The trade off is that for larger coding projects/systems, having a strongly, statically typed language offers a lot of benefits.  Not only does it protect against errors that would otherwise only be caught at runtime, but the tool chain, like the IDE, understands the types, and this makes finding references to fields, methods, classes, type hierarchy, refactoring, etc a breeze. 

Javascript can in many ways can be pretty tricky, trickier than c#.  But in the end, both of these tools have a place.
Logged

lm4der

  • Able Bodied Sailor
  • Pirate
  • ***
  • Brownie Points: +24/-9
  • Online Online
  • Posts: 222
Re: Learning C#, Tips?
« Reply #4 on: May 18, 2015, 04:29:55 PM »

I'll give you a hint.  C# is code for D.

I think this joke fell flat.  D flat.
Logged

Deep Funk

  • Sure is fond of ellipses...
  • Able Bodied Sailor
  • Pirate
  • ***
  • Brownie Points: +111/-3
  • Offline Offline
  • Posts: 2344
  • Born in 1988, eclectic 90-ties!
    • Radjahs2cents
Re: Learning C#, Tips?
« Reply #5 on: May 18, 2015, 04:41:30 PM »

I will trial and error my way through the code in Visual Studio. I first used Xamarin but the user interface became a mess after an update.

Javascript is tricky. Once you get used to it though it is quite intuitive. 
Logged
Few things keep me sane: my loved ones, my music and my hobbies. Few is almost an understatement here...

Tari

  • Poet Laureate of Changstaria
  • Mate
  • Pirate
  • ****
  • Brownie Points: +245/-1
  • Offline Offline
  • Posts: 854
  • Is tari a wizard
Re: Learning C#, Tips?
« Reply #6 on: May 18, 2015, 05:10:05 PM »

I think this joke fell flat.  D flat.

Naturally.
Logged

Claritas

  • strong in his convictions
  • Able Bodied Sailor
  • Pirate
  • ***
  • Brownie Points: +4200/-3162
  • Offline Offline
  • Posts: 495
  • Bachhead
Re: Learning C#, Tips?
« Reply #7 on: May 18, 2015, 05:29:59 PM »

" C♯ or B♭"  -- bumper sticker
Logged

spoony

  • 5 years late on rickrolling
  • Able Bodied Sailor
  • Pirate
  • ***
  • Brownie Points: +13/-0
  • Offline Offline
  • Posts: 274
  • ex c61746961
Re: Learning C#, Tips?
« Reply #8 on: May 18, 2015, 06:32:57 PM »

Thing is, I find C# fucking annoying. It is like writing a text message but the texting software keeps interfering with the writing.
Yes, and the same can be said about Java, the issue isn't with the language itself, it has more to do with the library design philosophy and language idioms (default private members, design pattern overuse, overly verbose naming and typing). If you want to learn for the sake of learning, a good choice would be a functional language such as Haskell or Lisp, the code tends to be terse and elegant and a challenge to write, it's a very enlightening experience. Otherwise just stick to the IDE / Text editor with the best autocomplete engine and static code analysis, it will save you a lot of time.

P.S. Python is always useful and fun.
Logged

smitty1110

  • The Ghost of Audio Forums Past
  • Able Bodied Sailor
  • Pirate
  • ***
  • Brownie Points: +5/-1
  • Offline Offline
  • Posts: 124
  • Amps are my drug of choice
Re: Learning C#, Tips?
« Reply #9 on: May 18, 2015, 06:37:47 PM »

You might also want to check out Ruby, less strict and verbose, and with lots of web design libraries that will work well with the rest of your skill set.
Logged
Pages: [1] 2 3 4