[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Why is your favorite language so comfy, Anon?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 85
Thread images: 5

File: comfy.png (5KB, 375x375px) Image search: [Google]
comfy.png
5KB, 375x375px
Why is your favorite language so comfy, Anon?
>>
> Microsoft Java
> comfy
>>
I've been using Java for the last couple of weeks, and I can not wait to get back to C#
>>
File: a18.jpg (22KB, 533x477px) Image search: [Google]
a18.jpg
22KB, 533x477px
>slower than Go, which hasn't even had 1/10000th the man-hours put into it
>comfy
>>
>>61791518
Java because Pajeets use it and they smell wonderful!
>>
But Kotlin looks like a promising language...
>>
Basic is comfier.
>>
C++ because of data streams
>>
>>61791542
C# is Microsoft sepples idiot.
Typescript is Microsoft Java.
>>
When I realized c# was just porting half assed functional programming features I just switched to haskell. It's ok for enterprise work but I after learning haskell I feel like I'm just fighting c# as a language half the time. Specifically I wish c# had "with" syntax that f# and haskell have.
>>
because lists are the best data structure!
>>
>>61791606
If it werent for that meme tier syntax
>>
File: 4d9.png (124KB, 382x491px) Image search: [Google]
4d9.png
124KB, 382x491px
>>61791590
>Slower than go
Pic.

>>61792375
I'm pretty sure F# is the beta for where C# is going. Every version gets more functional features. For me, Haskell is a non-starter because I work with others and most programmers aren't willing to pick up a different paradigm. I can't even use linq without getting questions about what the code is doing.
>>
>>61792617
I believe your situation to be true most of the time. I still have faith I might break out of the .net ecosystem one day. You are totally right about f#. The linq part is a bad sign imo, but everyone learns at their own rate etc etc.

Even if I don't get a haskell job someday, i still find the effort worth it. Its changed the way I think about things especially in c#.

For what it's worth, I've been a dev for 10 years.
>>
File: 1502107055168.png (61KB, 724x810px) Image search: [Google]
1502107055168.png
61KB, 724x810px
>>61792294
>he uses meme languages
>>
>>61792617
And this is why functional programming will never catch on.
>>
Because C# is the best mid-level language.

My perfect combo of programming is:
C++ for low
C# for mid
Python for high
>>
>>61792952
that's C#
>>
>>61793024
are you one of those people that calls things memes for absolutely no reason
>>
>>61793127
no u
>>
>>61792972

no this is why OOP programmers will become unemployable
>>
>>61793173
not anytime in this century
>>
>>61792617
>I can't even use linq without getting questions about what the code is doing.
The hell, LINQ is much more readable, at least for me. Either your code is a mess or the other's can't get the concept of maps and filters.
>>
>>61793189

do you pride yourself on being just good enough to get paid as a code monkey
>>
>>61793218
>being good enough to get paid
Something you're not?
>>
>>61793173
>t. unemployed functional programmer
>>
>>61793017
C for low
C# for mid
JS for high
>>
For me, in order, scripting langs included
>Python
>Javascript
>C++
>Julia
>C

I want to get into Haskell or Erlang for shits and giggles, and learn Kotlin and Swift to do apps and stuff. Most of my worklife revolves around js though.
>>
>>61791518
python
>>
>>61791518
C++ isn't comfy at all. It's hideous, there's simply no good alternative for what I want to do.
>>
>>61794365
Erlang is actually fucking amazing, message oriented + functional programming is extremely scalable and fun to write in. I prefer Haskell's type system, though.
>>
What languages should I learn if I want a comfy programming job?
No web development or app bullshit, I hate that.
>>
>>61792374
what
>>
I do love C#

I mostly use c at work tho...
>>
File: 1480313620386_0.png (275KB, 465x450px) Image search: [Google]
1480313620386_0.png
275KB, 465x450px
>>61791518
>>61793017
>C#
Top kek, that shit isn't really cross-platform.

Why anyone but microsoft fanboys should learn it?
>>
>>61791518
Its comfy because visual studio is comfy.
>>
>>61794894
please respond
>>
QUOKKA JS mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
>>
>>61795862

it's easy and it pays well + a lot of companies use it, at least in my home town
>>
coding from my apple iphone using facebook messenger
>>
>>61794362
x86 ASM low
C++ for mid
Python for high
>>
>>61796216
Python blyat
>>
>>61797004
>Python for high
Nice joke.
>>
>>61797173
>Python not for high
Nice joke.
>>
>>61797154
What nice jobs can Python get me?
>>
>>61794365
Have you tried react native? Its basically js but for phone apps
>>
>>61798316
what's your favourite language anon?
>>
>>61798329
SQL
>>
It cannot ge tmore comfy than C and Vim.
>>
>>61791518
Java because I love bloat
>>
>>61795862
>A language
>Cross platform
What?

If you're talking about the framework that is mostly used with C# (dotnet): It's completely open source (MIT) and cross platform with official support for Linux and Mac (even BSD)
>>
>>61798637
>header files
>comfy
>>
>>61791518
JavaScript is only comfy because I use it so much.
I do some extra scripting in Lua but only because it's so easy to drop in.
>>
>>61794609
What are you doing with it?
>>
>>61798723
>not wanting signatures of your most important functions easy to access
>>
>>61799432
The whole "separation of implementation and interface" idea falls apart as soon as you do something modestly interesting. Want a static inline function? Implementation in the header. Want to use some macros? Now you just poisoned the namespace of everything that includes it.

Headers are not "self documenting", they're a leaky hack to achieve modularity. If you really want to document your function signatures, do it with some documentation generation tool. JavaDoc has the right idea.
>>
>>61798708
.net core is pretty useless.
Only ms fanboys would learn that, even Java is better :/
>>
>>61800534
It's mostly used as backend language and it's good at that.
>>
Java because I actually have a job and a life and poo
>>
>>61793211
It stems from an unwillingness to learn new syntax and ideas. Lambdas are also difficult to get past code review. A closure might as well be magic.

>>61800534
>.net core
>Useless
Asp core runs on .net core, and it's fast and awesome to work with. Most libraries are targeting .net standard 1.6 which works with .net core too. There's no official gui framework for client applications, but nothing is stopping you from using qt/gtk/xamarin or just making a cli.
>>
>>61801404
Its true and I blame it on Java being taught at universities.

People are so used to looking at
foreach(do something)
{
foreach(do something)
{
...
}
}

that when they see something like (example):
int minimum = employees.GetMinVal<Employee>(emp => emp.age);


it blows their mind
>>
>>61802494
It's not too hard to adjust to maps and filters coming from foreach loops.
>>
>>61801404
>>61802494
>int minimum = employees.GetMinVal<Employee>(emp => emp.age);
This syntax really is kind of confusing. Putting declarative elements into imperative languages is pretty much impossible to do in a way that doesn't seem contradictory at first.
>>
>>61802494
Agree fully.
Was going to post Java because I like (read: am used to) how it looks.
>>
>>61802659
The only confusing thing here is the lambda syntax. Nobody is surprised to see a
GetMinVal
function getting the smallest in a collection.
>>
>>61802494
When will the FP memeing end?

That shit is not easily maintainable.

What if you need to add another line of code to that lambda? Either make it ugly as sin or rewrite the whole thing.
>>
>>61794894
https://archive.rebeccablacktech.com/g/thread/61708866/#q61709759
>>
>>61792374
are you brain damaged?
>>
>>61803285
>telling people to choose between dynamic or static typed languages
>recommends C as a first language

that's a bunch of bullshit TO be honest

there are no comfy languages only comfy jobs. and most of those jobs are enterprise web dev jobs. so learn C#, java or javascript. C# and java back end web dev is still respectable, javascript is not unless you pair it with one of the former.
>>
>>61803342
What if I want a comfy job but hate web dev?
>>
>>61803432
why do you hate web dev? backend is about building complex systems that the website will pull data from, not about building pretty websites.

however, the next comfy job i can think of would be enterprise mobile dev. so learn java/kotlin for android or objective-c/swift for ios. learning both is beneficial. or just learn a cross platform framework such as ionic or react native. mobile apps will also rely on a backend system though so java and c# still applies if you want to be full stack.
>>
>>61803073
You'd just chain onto it.
>>
>>61791590
have fun with your cuck language
>>
>>61791518
It doesn't enforce concept of classes when you want just objects or objects when you want just classes. Type inference checks my programs before I even run them. It has clear parametric polymorphism. The syntax is concise. Algebraic data types and pattern matching let me write beautiful and compact code. Encompassing functions as first class values makes my modules actually modular. Thanks to immutability and lazy evaluation my code is free of side effects. All these language features are independent and it lets me do exactly what I want and nothing more. It's pure.

One thing I miss from other languages are first-class modules, but these can be thought of as records to some extent.
>>
>>61803496
I want to work on interesting projects, not websites.
Then again maybe interesting work isn't comfy.
>>
>>61803679
A lack if records hurts. We were supposed to get them in C# 7, but it was pushed out to version 8.

See:
https://github.com/dotnet/csharplang/blob/master/proposals/records.md
>>
>>61804132
Huh? The language I was talking about has records. Linking my post would mean your post is related, but the only connection is that I mentioned my language has records and C# doesn't which doesn't really look like a connection and I feel confused.
>>
>>61804390
Your description of whatever language you're referring to actually sounds a lot like C# though, other than algebraic types which I glossed over. Try actually specifying what you're talking about.
>>
>>61804639
Well, for each thing I mentioned in my post:
>It doesn't enforce concept of classes when you want just objects or objects when you want just classes.
C# is a regular POO language (I think it's the best POO language though) and ties these two concepts inseparably
>Type inference checks my programs before I even run them.
I thought C# didn't have actual type inference, but now I've read it actually has. That's nice. I'm not sure if it's as complete as I'd like it to be though (which might be impossible due to inheritance)
>It has clear parametric polymorphism.
While it has parametric polymorphism, I don't consider it "clear". You have to actually specify explicitly that you introduce a type parameter and you end up with a pretty long code for a very simple thing.
>The syntax is concise.
Uh.
>Encompassing functions as first class values makes my modules actually modular.
Support for lambda expressions in POO languages has always been terrible. Or at least was last time I looked, I know they are trying to be more FP now.
>Thanks to immutability and lazy evaluation my code is free of side effects.
>It's pure.
This is the point where you notice it's some autistic language like Haskell.
>>
>>61792617
Languages which aren't compiled to machine code are inherently slower than the ones who are.
C# is compiled to bytecode and needs an interpreter.
Go produces real executables I think.
>>
>>61806186
>Languages which aren't compiled to machine code are inherently slower than the ones who are.
that's not true
>C# is compiled to bytecode and needs an interpreter.
the methods that the program spends most of its time executing ("hot spots") are compiled to machine code, not interpreted. sufficiently advanced dynamic compilers can often produce better optimized code than ahead-of-time compilers by making further adaptive optimizations
>>
JS for literally everything
>>
>>61795862
And yet, thanks to Xamerian, I see C# as one of the better choices for making a cross platform application
>>
>>61791518
>I was forced to use java for my first 2 years
>I'm too dumb for c++, can't even collect my garbage properly
>wanted to try making a game in unity, no matter how hard this c# may be
>turns out that if you know java, you know c# aswell
>after 3 years, programming was suddenly fun for the first time in my life

Plot twist: became 3d modeler/animator instead, but i have 0 problems scripting/implementing stuff and i understand my programmer buddies and their problems
>>
>>61806186
c# bytecodes can be compiled to native.
Thread posts: 85
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.