Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Linux vs Windows: What do programmers use.

Name: CFDisk 2005-02-19 5:17

I was woundering if it is a common theme for most "Pro" programmers to use linux. I mean a book called C;Programming I have was written on linux. So which OS is it that programmers or hackers, per say, use?

Name: Anonymous 2005-02-19 6:00

Sorry I mean the C:Programming book was written in unix not linux

Name: Anonymous 2005-02-19 8:20

When I was learning the basics of programming on Windows, I was focusing too much on GUIs, windows and buttons with pretty pictures inside. That led me nowhere as the "core" of my programs was empty. I use Linux now and I see another problam with Windows programs: you have to download external libraries to do advanced programs like compilers, filters (what I do at my university now) or cryptography. For example, there is no equivalent to Lex/Yacc on Windows.

The second problem is that Microsoft tries to prevent people from porting programs to other systems by wrapping struct with weird handles (like HWND or HDPROC) and that is not a good behaviour from them.

The last thing I love in Linux is source code. I'm not a Linux zealot but I can study how real programmers write their code. I'm learning compilers and I can read Python's, Ruby's or gcc's source code to see what's happening behind; I can't do this with VisualC++.

Of course when you're a "pro" I think it won't matter anymore, but if you learn, it is VERY important to see the broadest range of subjects which is impossible if you stick to Microsoft's tools.

>>1
If your book if focusing specifically on C, it doesn't matter whether you're using Windows or Linux, C is just about pointers and loops, not libraries and what you can do with them.

Name: Anonymous 2005-02-19 23:20

I've always preferred developing in *nix, due to the large number of tools available at the command line. I will comment that some of my colleagues used to develop their code in VisualC++ in windows, with the software being compiled and debugged on a remote linux box.

We're probably in the minority though. A lot of the software people use is windows-based, and developed entirely on a windows platform.

By the way, I hate the win32 API. There's a fucking datatype for everything. In theory this is good for catching certain possible errors; in practice it's a PITA and damn ugly to read.

Name: Anonymous 2005-02-20 9:16

>>1

The C language was born to create UNIX, so the two get along really well.

Name: Anonymous 2005-02-20 13:54

goat c

Name: Anonymous 2005-02-21 20:56

>>6
wins the thread.

Name: Anonymous 2005-02-21 20:57

This is a stupid thread.

Name: Anonymous 2005-02-22 8:29

>>4
Actually Win32 datatypes are worse than I ever thought: it's OK when you hide an integer (int) into some kind of typedef (HANDLE) or something but the fact that they also hide POINTERS inside "things you don't know what they are" is fucking stupid and prevents you from debugging the code.

What I did in the end was giving some function a pointer to something without knowing it was already a pointer... I bet Bill Gates once tried to wrap a "FILE *" inside a "HFILE" to make people crazy.

Name: Anonymous 2005-02-22 12:49

>>9
What's more entertaining is when you have to pass a structure FOO_POINTER which contains a single value which is a pointer to something.

Fuck Windows programmers. They all write code like they learned programming with QuickBasic.

Name: Anonymous 2005-02-22 12:50

>>10
BTW, consider the fact that you can't (or shouldn't) pass a structure on the stack.

Name: Anonymous 2005-02-22 14:27

>>3
>>4

Huh? Flex, Bison, sed, etc... All of the "Linux" tools are also available for Windows.


The Win32 sucks big time. It was designed with the concepts of "shit", "poo", and "needlessly complicated" in mind. That said, I feel more comfortable working on Windows (for example, programming console applications) than Linux, because Windows has more software available (i.e. pretty much everything Linux has recompiled, plus what Windows has), the availability of better editors than that Vi/Emacs crap (I know I'm going to get bashed and called a bad programmer for this as if it had anything to do), and the possibility to use the keyboard for everything (try using the Keybaord to do anything in X).

Name: Anonymous 2005-02-22 17:05 (sage)

>>12
Some of the tools are, but that wasn't always the case, and you're ignoring things like valgrind. Besides, some of us prefer the native environment over cygwin, msys, or whatever the port de jour is.

Not that I disagree with your sentiment. Windows is a far more pleasant environment when it works.

Name: deitarion 2005-02-23 5:51

Actually, I find Linux to be more pleasant for programming.

I haven't had a need to write anything but Python lately but I enjoy writing Python far more in GEdit or KWrite than I ever did using Windows tools.

Name: Christy McJesus !DcbLlAZi7U 2005-02-23 10:04

When I realised my final year university project was going to involve a whole lot of programming I finally got around to downloading and installing Linux because I find programming in Windows to be really unpleasant. Linux was built by hackers for hackers so it's hardly surprising it provides a much nicer development environment. Windows was originally a crude hack to make DOS somewhat usable.

Name: ssokolow 2005-02-23 20:34

When I started to learn bash scripting I nearly cried for joy because things like grep and sed were what I had been needing to reinvent pieces of in Python for ages while I was on Windows.

In retrospect, I should have downloaded the Windows versions from the GNUWin32 project or used the Cygwin ports but then again, how could I have known what to download?

Name: Anonymous 2005-02-23 21:50

I'll agree that Windows as it comes is worthless, but get FAR, the GNU Win32 ports, perhaps Console, UltraEdit or similar, and whatever tools you like, and you'll find it perfect.

Name: deitarion 2005-02-24 7:54

I tried that but it only made me want Linux more. Heck, I replaced Explorer with Litestep and 2xExplorer and I hacked out who knows how many other components.

In the end, I switched to Pure Linux.

Name: Anonymous 2005-02-26 11:44

Linux is high in calcium, and has been shown to reduce the risk of late onset faggotry.

Name: Anonymous 2005-02-26 12:24

>>15 Windows was originally a crude hack to provide a GUI to serve as a selling point to convince semiliterate morons and bored housewives who had no business being in the same room with a computer to purchase a PC instead of a Mac.

Fixed.

Name: Anonymous 2005-02-26 15:17

>>20
ONLY I MAY USE COMPUTARS. ONLY I.

Name: Anonymous 2005-02-27 2:00

TRSDOS rules all!

Name: Anonymous 2005-02-27 8:14

>>20

Exactly. Who needs user friendliness? Real programmers don't even use Linux. They write machine language and burn it to a ROM.

Name: Anonymous 2005-02-28 18:58

ROM is bloated. Real programmers poke their CPU pins with wires connected to batteries and resistors and remember all of the variables in their head.

Name: Anonymous 2005-02-28 19:41

real programers dont use CPUs, they just program their brains

Name: Anonymous 2005-03-02 19:43

Real programmers don't program in anything less portable than number 2 pencil.

Name: Anonymous 2005-03-03 8:04

Real programmers don't even program.

Name: Anonymous 2005-03-05 10:56

>>27
Have you finished the program I asked you to write? No? So get back to work!

Name: Anonymous 2005-03-05 11:11

#28 wins. Unfortunately for him his programmers will continue to slack off.

Name: Anonymous 2005-03-06 12:13

Real programmers don't do anything but let everyone else do the job

see: bill gates

Name: Anonymous 2005-03-07 5:19

>>30

You're confusing programmers with businessmen.

Name: Anonymous 2005-03-07 10:34

>>31
Businessmen get the money, but they deal with laws, lawyers, and all that shit.

Programmers do the fun things, and the real work.

Name: Christy McJesus !DcbLlAZi7U 2005-03-08 13:47

>>30

mr0e liek see Linus Torvalds. His job is to decide whose hacks get put into the kernel, when he's not being beaten up by his black-belt wife.

Name: Anonymous 2005-03-08 23:23

rdgdr
tggrd

Name: Anonymous 2005-09-23 20:33

Real programmers speak brainfuck as their mother tongue

Name: Anonymous 2005-09-23 21:27

Damn there's been a lot of dead threads resurrected recently.

Name: WTRoll !HfinAdTohw 2005-09-23 21:30

The only professional programmer I personally know uses windows xp.

Name: jaja 2005-09-27 1:52

There bolth used alot. Iv been using Windows just becuse most of the programs I make deal with the .net framework but when it comes to pure C/C++ I go on linux every chance I get.

Name: Anonymous 2005-09-28 7:25

We professional programmers use whatever we're paid to use.  In my case, Microsoft products.

At home, I use multiple OSes.  Windows and Linux right now, and I'm saving up for another machine that I hope to put Solaris 10 on.  :)

Name: Anonymous 2005-09-28 8:15

>>39
Exactly. Currently, I'm using Linux at work (save for when I have to edit images or try how things look from Microsoft's shitty browser). At home, I'm using Windows as my workstation OS and it's on 90%-100% of the time, but right now I'm also using Linux for a project.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List